Section 10.11.2 Check Point Questions1 question
10.11.2.1
Suppose that s1 = new StringBuilder("Java").
Show the value of s1 after each of the following statements.
Assume that the statements are independent.
a. s1.charAt(2); b. s1.length(); c. s1.substring(1, 3); d. s1.substring(2);