Multiple Choice
Given that String[] str has been initialized, to get a copy of str[0] with all characters converted to upper case, use the following statement:
A) str.uppercase() ;
B) str[0].upperCase() ;
C) str.toUpperCase() ;
D) str[0].toUpperCase() ;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q22: The ArrayList class is in this package.<br>A)
Q24: Given the following two-dimensional array declaration, which
Q26: What do you call the number that
Q26: If numbers is a two-dimensional int array
Q30: What will be the value of x[1]
Q31: In memory, an array of String objects<br>A)
Q32: In Java, you do not use the
Q37: An ArrayList object automatically expands in size
Q61: The String [ ] args parameter in
Q63: When an array of objects is declared