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 . chartAt(0)= "Y";
Answers
Answered by
0
Answer: 2 is correct
Explanation:
Similar questions