Solved

Assume the Following Variables Have Been Declared and Given Values

Question 103

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions