Question: String & StringBuilder - - Reverse A String Steps: Write a Java Program Instantiate the Scanner to read from STDIN Declare a String variable, and
String & StringBuilder Reverse A String
Steps:
Write a Java Program
Instantiate the Scanner to read from STDIN
Declare a String variable, and read in one String.
Instantiate a StringBuilder
Using StringBuilder methods, input the String into the StringBuilder, reverse it and then print it out after changing it to lowercase.
Hint: This question uses StringBuilder methods, as well as a String method.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
