Solved

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

Question 1

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

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