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