Which of the following java statement(s) is/are correct to set the value of an index of the string test? String test = new String(); 1. test[0] = "x"; 2. test.charAt(0) = "y"; %3D a. option 1 b....


Choose The Correct Option
(Not Explain)*


Which of the following java statement(s) is/are correct to set the value of an index of the<br>string test?<br>String test = new String();<br>1. test[0] =

Extracted text: Which of the following java statement(s) is/are correct to set the value of an index of the string test? String test = new String(); 1. test[0] = "x"; 2. test.charAt(0) = "y"; %3D a. option 1 b. option 2 c. option 1 and 2 d. None of the above

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here