Limited access

Upgrade to access all content for this subject

List Settings
Sort By
Difficulty Filters
Page NaN of 1946

Consider the following code segment.

String phrase = "Great players are really serious at practice";
System.out.println(phrase.indexOf(phrase.substring(15,17)));

What is printed as a result of executing the code segment?

A
1
B
re really serious at practice
C
15
D
re
E
18
Accuracy 0%
Select an assignment template