MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following are legal lines of Java code? ÂÂ1. int w = (int)888.8; ÂÂ2. byte x = (byte)100L; ÂÂ3. long y = (byte)100; ÂÂ4. byte z = (byte)100L; |
| A. | 1 and 2 |
| B. | 2 and 3 |
| C. | 3 and 4 |
| D. | All statements are correct |
| Answer» E. | |