Question: thods from 11. Write a method that receives a String as a parameter, creates a new String that contains the same characters in the specified
thods from 11. Write a method that receives a String as a parameter, creates a new String that contains the same characters in the specified String but in reverse order, and returns that String. For example, if the String received as a parameter is "loop", the method should return "pool" Your method should work for any String You will need to appropriately invoke the charat method of the String class. Its description in the Java standard library is: char charAt (int index) Returns the char value at the specified index. FIVE STAR
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
