Question: continuation explanation for original post from Friend. [Task 3] Write a JAVA class called EncryptString, which prompts user for a String, and prints an encrypted
continuation explanation for original post from Friend.
[Task 3] Write a JAVA class called EncryptString, which prompts user for a String, and prints an encrypted version of the String by extracting each character and replacing it with the next character. For example, a will be replaced by b, s will be replaced by t, z will be replaced by a and so on. The program should have the main method. Sample output of the program is Enter a String: abcdef The encrypted version of the String "abcdef" is "bcdefg". You can use toLowerCase() or toUpperCase() to change the case of the input string. Make sure the string can also include space in it.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
