Q. What is the correct representation of using Binary literals in Java?

  • (A) int a = 0b1010;
  • (B) int a = 0B1011_1010;
  • (C) int a = 0B0______________1;
  • (D) All the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All the above

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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