A
Q. What is the output of the Java program?
Code:
byte b = 0b0000101;
System.out.print(b + ",");
b &= 0b00001111;
System.out.print(b);
System.out.print(b + ",");
b &= 0b00001111;
System.out.print(b);
- Correct Answer - Option(B)
- Views: 13
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.