Java Topic Practice
String Indexing
String Indexing MCQ Practice
Question 1 of 15
Answered 0 of 15
Choose one answer.
What is printed by the following code segment?
String word = "ALGORITHM";
int start = 0;
String piece = word.substring(start, start + 3);
System.out.print(piece);