Question: QUESTION 1 What is the value of the variable c in the statements that follow? String phrase Make hay while the sun is shining. char

 QUESTION 1 What is the value of the variable c in
the statements that follow? String phrase "Make hay while the sun is

QUESTION 1 What is the value of the variable c in the statements that follow? String phrase "Make hay while the sun is shining." char c -phrase.charAt(10) O None of the choices QUESTION 2 Write a Java statement to access the 7th character in the String variable myString and place it in the char variable c. O c myString. charAt(7) O c- myString charAt(6) O c- myStringl7] O c myString(6)

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!