Question
Given the String variable called word, initialized to Supercalifragilisticexpialidocious write the String method that will achieve the answer to the following questions: Write the instruction
Given the String variable called word, initialized to Supercalifragilisticexpialidocious write the String method that will achieve the answer to the following questions:
Write the instruction to get the length of word. _________________
Write the instruction to get fragil from the word above. ______________________
Write the instruction to get docious from the word above. ________
Write the instruction that will return the last char of r from the word above. ______
Write the instruction that will print out the first location of the letter e _________
Write the instruction that will print out the second location of the letter e _______
Write the instruction that will print out the word all in upper case ________
Write the program that contains all 7 of these questions, debug it, and test it.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored 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