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:

Verified
Correct Answer:
Verified
Q23: Rewrite the following five assignment statements into
Q32: The Swing package<br>A) completely replaces the AWT<br>B)
Q34: Consider the following two lines of code.
Q35: Layout managers are associated with<br>A) objects<br>B) interfaces<br>C)
Q36: If you need to import not only
Q38: In Java, the symbol "=" and the
Q41: These two ways of setting up a
Q42: Which of the following GUI components is
Q43: The printf method within System.out is designed
Q46: Java.text's NumberFormat class includes methods that<br>A) allow