Question: Program 3: StringStuff.java Ask the user to input a multiple word phrase and store in a String. Using the methods from the String class,

Program 3: StringStuff.java Ask the user to input a multiple word phrase

Program 3: StringStuff.java Ask the user to input a multiple word phrase and store in a String. Using the methods from the String class, report back to the user the following: length of string(number of characters) substring of original with first and last letter missing a random letter of string( use the random class to help pick an index and report this index with the solution) the index location for the first space within the string Note: Spaces are considered letters and count in number of characters.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!