Question: Please use Jva: This method should take the string input and return its characters rotated 2 positions. given gtg123b it should return g123bgt. * *
| Please use Jva: This method should take the string input and return its characters rotated 2 positions. | |
| given "gtg123b" it should return "g123bgt". | |
| * | |
| * @param input the string to be modified | |
| * @return the modified string | |
| */ | |
| private String calc(String input) { | |
| //Person 5 put your implementation here | |
| return null; | |
| } | |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
