The expression New String("America",4,2) creates a string with the value:
A) "meri"
B) "ire"
C) "ri"
D) "ic"
E) Nothing
Correct Answer:
Verified
Q9: Which of the following cannot be used
Q10: Class String and the Char structure are
Q11: A String cannot be made directly from
Q12: When using the String constructor with arguments
Q13: A string literal:
A)contains only one character.
B)contains numbers
Q15: When creating a String object,if a character
Q16: The bounds on a String are always:
A)0
Q17: A sequence of characters in double quotation
Q18: Characters consist of only the uppercase and
Q19: Characters can be:
A)uppercase letters
B)lowercase letters
C)digits
D)All of the
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