The String method substring returns ________.
A) a char
B) a String
C) void
D) a char[]
Correct Answer:
Verified
Q13: Consider the statements below:
StringBuilder sb =
Q15: An anonymous String _.
A)has no value
B)is a
Q16: How many String objects are instantiated by
Q17: The length of a string can be
Q18: The statement
S1)startsWith("art")
Has the same result as which
Q19: Consider the String below:
String r = "a
Q21: Which of the following statements is true?
A)
Q22: Consider the Java segment:
String line1 =
Q24: Which class is not a type-wrapper class?
A)
Q26: Consider the Java segment:
String line1 =
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents