Menu
×
×
Correct!
Exercise:Return the index (position) of the first occurrence of "e" in the following string:
String txt = "Hello Everybody";
System.out.println(txt.indexOf("e"));
Not CorrectClick here to try again. Correct!Next ❯String txt = "Hello Everybody"; System.out.println(txt.( )); |