Q258
What will be the output of the following Java code? class binary public static void main(String args[]) int num = 17; System.out.print(Integer.toBinaryString(num));
A.
1001
B.
10011
C.
11011
D.
10001
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board