Question: Write a program that has the following String variables: firstName, middleName, and astName. Initialize these with your first, middle, and last names. The program should
Write a program that has the following String variables: firstName, middleName, and astName. Initialize these with your first, middle, and last names. The program should also have the following char variables: firstnitial middlenitial and lastinitial. Store your first, middle, and last initials in these variables. The program should display the contents of these variables on the screen.
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
