MCQOPTIONS
Saved Bookmarks
| 1. |
In the following pieces of code, B and D will compile without any error. True or false ?_x005F_x000D_ A: StringBuffer sb1 = "abcd";_x005F_x000D_ B: Boolean b = new Boolean("abcd"); _x005F_x000D_ C: byte b = 255; _x005F_x000D_ D: int x = 0x1234; _x005F_x000D_ E: float fl = 1.2; |
| A. | 1 |
| B. | |
| C. | |
| D. | |
| Answer» B. | |