Solved

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

Question 37

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