Home / Programming MCQs / JAVA MCQs / Question

R

Ram Sharma • 188.81K Points
Coach

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

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.