questiongenerate a class name that starts with


Question

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

Output the new name to the screen. Forexample if:

first = "walt"

last = "savitch"

programme has to output "AltwayAvitchsay"

 

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: questiongenerate a class name that starts with
Reference No:- TGS0444469

Expected delivery within 24 Hours