πŸ“Š JAVA
Q. What is the output of the Java Program?
Code:
byte b = 0b00000101;
System.out.print(b + ",");
b ^= 0b00001111;
System.out.print(b);
  • (A) 5,0
  • (B) 5,5
  • (C) 5,10
  • (D) 5,15
πŸ’¬ Discuss
βœ… Correct Answer: (C) 5,10

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
206
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
85%
Success Rate