Given that String[ ] str has been initialized, to get a copy of str[0] with all the characters converted to uppercase, you would use the __________ statement.
A) str.uppercase() ;
B) str[0].upperCase() ;
C) str.toUpperCase() ;
D) str[0].toUpperCase() ;
Correct Answer:
Verified
Q51: What will be the results after the
Q52: What would be the result after the
Q53: If numbers is a two-dimensional int array
Q54: Which of the following for loops is
Q55: If final int SIZE = 15 and
Q57: What will be the value of x[8]
Q58: What will be the results after the
Q59: What would be the result after the
Q60: What would be the result after the
Q61: What does the following statement do? double[
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