Question: Java: dont use arrays or .split() method Write a program that prompts the user to enter a full name consisting of three names ( first

Java: dont use arrays or .split() method

Write a program that prompts the user to enter a full name consisting of three names (first middle last) into one String variable. Then use methods of class String to:

  • print the number of characters in the full name, including spaces
  • print just the middle name and the number of characters in it.
  • print the three initials of the name
  • print the last name in all upper case.
  • print the full name in the usual alphabetical format (last, first middle) and proper case.

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 Databases Questions!