The IT Certification Resource Center

Featured Deal

Get CompTIA, Cisco, or Microsoft training courses free for a week.
Learn More ❯
Today's Deal

Question 9:

In the following pieces of code, A and D will compile without any error. True/False?

A: StringBuffer sb1 = "abcd"; 
B: Boolean b = new Boolean("abcd"); 
C: byte b = 255; 
D: int x = 0x1234; 
E: float fl = 1.2;

A. True
B. False