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
<PREVIOUS || Main Page || NEXT >
Give your answers in the comment below
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
<PREVIOUS || Main Page || NEXT >
Give your answers in the comment below
No comments:
Post a Comment