1.

What is the output of this program?
public class binary_Example
{
public static void main(String args[])
{
int n = 16;
System.out.print(Integer.toBinaryString(n));
}
}

A. 10000
B. 00001
C. 00100
D. 01000
E. 1000
Answer» B. 00001


Discussion

No Comment Found

Related MCQs