Multiple Choice
The String method substring returns ________.
A) a char
B) a String
C) void
D) a char[]
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q3: Consider the Java segment: <br>String line1 =
Q5: Which of the following are static Character
Q10: Consider the statement below:<br>StringBuilder sb1 = new
Q12: Which class is not a type-wrapper class?<br>A)
Q15: How many String objects are instantiated by
Q16: Which of the following will create a
Q19: Which of the following is not a
Q20: Which of the following statements is true?<br>A)
Q22: Consider the Java segment: <br>String line1 =
Q26: String objects are immutable. This means they