Java SE 8 Programmer I (1Z0-808)

© examsiri.com
Question : 8 of 8
 
Marks: +1, -0
Given the code fragment:StringBuilder s1 = new StringBuilder("Java");
String s2 = "Love";
s1.append(s2);
s1.substring(4);
int foundAt = s1.indexOf(s2);
System.out.println(foundAt);
What is the result?
Go to Question: