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: 9
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.