Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
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 get the first character in firstName and store it in a variable called firstInitial. 2. Print out the users first initial. 3. Use the toUpperCase method to change the fullName to upper and store it back into the fullName variable. 4. Add a line that prints out tha value of fullName and how many characters are in the string stored in fullName
java
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started