Create a class name that starts with the string variable


Create a class Name that starts with the string variable first set to your first name and the string variable last set to your lastname by using keyboard. Both names should be at lowercase. Your programme should than create a new string that contains your full name. The first letter both for first and last name shouldbe capitalized. You move the first letter to the end ofthe word and then add "ay". Use the substring () and toUpperCase()methods to construct the new name.

Output the new name to the screen. Forexample if:

first = "walt"

last = "savitch"

the programme should output "AltwayAvitchsay"

Change the programme so programme willbe more general means that the user will input his own name 

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Create a class name that starts with the string variable
Reference No:- TGS089969

Expected delivery within 24 Hours