A
Q. What is the output of the Java Program?
Code:
byte b = 0b00000101;
System.out.print(b + ",");
b ^= 0b00001111;
System.out.print(b);
System.out.print(b + ",");
b ^= 0b00001111;
System.out.print(b);
- Correct Answer - Option(C)
- Views: 15
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.