Question: Create a java application that has two classes (class and testclass) Working with Strings. (Rearranging parts of a string containing names) a. Read in a
Create a java application that has two classes (class and testclass)
Working with Strings. (Rearranging parts of a string containing names)
a. Read in a persons name in the format
Last-name, First-name
Change it to the format
First-name Last-name
Then print the original name and the reformatted name. If the name is missing a comma on input, alert the user and dont re-format the name.
b.) Add a loop. Use 999 as a sentinel to exit the loop.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
