Question: Write a program that has the following String variables: firstName, middleName, and lastName. Initialize these with your first, middle, and last names. The program should
Write a program that has the following String variables: firstName, middleName, and lastName. Initialize these with your first, middle, and last names. The program should also have the following char variables: firstInitial, middleInitial, 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
3.48 Rating (158 Votes )
There are 3 Steps involved in it
Below I implemented above problem in Java as per instructionsrequirements Comments ... View full answer
Get step-by-step solutions from verified subject matter experts
