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:
Verified
Q8: The String class' compareTo method
A) compares two
Q9: An "alias" is when
A) two different reference
Q10: The advantage(s) of the Random class' pseudo-random
Q11: In the StringMutation program shown in Listing
Q13: What will be displayed by this command:
Q14: What happens if you attempt to use
Q15: If two variables contain aliases of the
Q16: Consider the following enumeration enum Speed {
Q21: Java.text's NumberFormat class includes methods that
A) allow
Q37: An API is
A) an Abstract Programming Interface
B)
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents