Question: Task #3 Working with Strings 1. Use the charAt method to get the first character in firstName and store it in a variable called firstInitial

 Task #3 Working with Strings 1. Use the charAt method to

Task #3 Working with Strings 1. Use the charAt method to get the first character in firstName and store it in a variable called firstInitial (you will need to declare any variables that you use) 2. Print out the user's first initial. 3. Use the toUpperCase method to change the fullName to uppercase and store it back into the fullName variable. 4. Add a line that prints out the value of fullName and how many characters (including the space) are in the string stored in fullName (use the length method to obtain that information). 5. Compile, debug, and run. The new output added on after the output from the previous tasks should have your initials and your full name in uppercase characters

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!