Page 1 of 1

What does the following code display? String s= "What we think, we become"; String s1 = s.substring(5); String s2 = s1.s

Posted: Tue Jul 05, 2022 10:25 am
by answerhappygod
What Does The Following Code Display String S What We Think We Become String S1 S Substring 5 String S2 S1 S 1
What Does The Following Code Display String S What We Think We Become String S1 S Substring 5 String S2 S1 S 1 (77.16 KiB) Viewed 17 times
What does the following code display? String s= "What we think, we become"; String s1 = s.substring(5); String s2 = s1.substring(3); System.out.println(s2); Select one A. at we think, we become OB. think, we become OC. hink, we become D. nothing this is an erron