Multiple Choice
Assume the following variables have been declared and given values as shown:
String str = "0123456789";
String sub = str.substring(3, 4) ;
Which is the value of sub?
A) 3
B) 34
C) 345
D) 3456
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q98: Which operator is used to concatenate two
Q99: What will be the value of the
Q100: What is the output of the following
Q101: What is the meaning of x =
Q102: Assuming that the user enters 45 and
Q104: The problem solving process emphasizes a "first,
Q105: What is the difference between the result
Q106: What happens to the fractional part when
Q107: What is the result of the following
Q108: Assuming that the user enters 23 and