Write a program to calculate implement Monoalphabetic cipher encryption - decryption.
Code: import java.util.Scanner; public class MonoalphabeticCipher { public static void main(String[] args) { char []real={'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'}; char []mono={'q','w','e','r','t','y','u','i','o','p','a','s','d','f','g','h','j','k','l','z','x','c','v','b','n','m'}; Scanner sc = new Scanner(System. in ); String str; int len; System. out .print("1. Encryption 2. Decryption: "); int choice = sc.nextInt(); switch (choice) {