Multiple Choice
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
Correct Answer:
Verified
Related Questions
Q7: What would be the result after the
Q39: A sorting algorithm is a technique for
Q40: What would be the result after the
Q41: Subscripting always starts with _.<br>A) 0<br>B) 1<br>C)
Q42: The ArrayList class is in the _
Q44: What would be the result of executing
Q45: In Java, you do not use the
Q46: By default, Java initializes array elements to
Q47: The _ method removes an item from
Q48: A sorting algorithm is used to locate