Which of the following states are true about class X?
1. public class X
2. {
3. public static void main(final String[] args)
4. {
5. short s = 0x00FD;
6. byte b = (byte)(((s)));
7. System.out.println("b = " + b);
8. }
9.}
A) It generates a compiler error at line 5.
B) It generates a compiler error at line 6.
C) If the cast at line 6 is omitted then line 6 would not compile
D) The code compiles and outputs "b = 0"
E) The code compiles and outputs "b = -2"
F) The code compiles and outputs "b = -3"