Solved

Given That String[] Str Has Been Initialized, to Get a Copy

Question 27

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions