Question: Java program. Write a method for reversing a string and another method for reversing a sentence using the reversal of string. User should give a
Java program. Write a method for reversing a string and another method for reversing a sentence using the reversal of string. User should give a sentence as input.
Ex. Input: That person is good. Output: doog si nosrep tahT
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
