Solved

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

Question 56

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:

verifed

Verified

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

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents