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

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!