(Swap case) Write the following method that returns a new string in which the uppercase letters are changed to lowercase and lowercase letters are changed to uppercase.
public static String swapCase(String s)
Write a test program that prompts the user to enter a string and invokes this method, and displays the return value from this method. Here is a sample run:
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.