Solved

Given the Following Code Fragment String StrA = "ABcDeFg";

Question 12

Multiple Choice

Given the following code fragment String strA = "aBcDeFg";
String strB = strA.toLowerCase( ) ;
StrB = strB.toUpperCase( ) ;
String strC = strA.toUpperCase( ) ;


A) strB.equals(strC) would be True
B) strB.compareTo(strC) would yield 0
C) strA.compareTo(strC) would yield 0
D) strA.equals(strC) would be True
E) none of the above

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