Question: Write a for loop that reverses the following string and stores the result in a new String called reverse The programming language is Java 6.
Write a for loop that reverses the following string and stores the result in a new String called reverse

The programming language is Java
6. Write a for loop that reverses the following string and stores the result in a new String called reverse. String word = "spoons"; String reverse = ""; What is the starting index of the String? What is the ending index of the String? How much do we need to increment (or decrement) the index by each time
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
