2.2. Name and Initials - Java

Words
95
Reading
1 min
Listen
Play
10y

Starting out with Java: From control structures through objects

Chapter 2

Programming Challenges

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

2. Name and initials 

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.

 

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

Bitcoin Address - 12uPbtoTBgxKG3ppxC2NSJYmmr5qipsbds

Ether Address - 0xb6f7D2d2127a56aF7D55CdBD7d327439A9005abF

Change tip address - kakradetome.tip.me

email - [email protected]

Thanks :)

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

2.2. Name and Initials - Java | Ecency