Question: Write a JAVA application (class name: Initials) that reads in your first name and last name and stores it as one String. - Print out

 Write a JAVA application (class name: Initials) that reads in your

Write a JAVA application (class name: Initials) that reads in your first name and last name and stores it as one String. - Print out your initials to the screen. Hint: use the "charAt()" method to get the first character of your first name and store it in a variable, then use the "indexOf" and "charAt()" methods to get the first character of your family name and store it in another variable. - extract your family name and print it to the screen. Hint: use the "substring()" method. For example

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!