1.

Which of the following are legal lines of Java code?
1. int a = (int)888.8;
2. byte b = (byte)100L;
3. long c = (byte)100;
4. byte d = (byte)100L;

A. 1 and 2
B. 2 and 3
C. 3 and 4
D. All statements are correct.
E. NA
Answer» E. NA


Discussion

No Comment Found

Related MCQs