A
Q. What is the output of the Java code snippet?
Code:
short a = (short)65540;
System.out.println(a);
System.out.println(a);
- Correct Answer - Option(B)
- Views: 15
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.