0
Quiz question
int a=2; int b=3; System.out.println((Integer.toBinaryString(a))+(Integer.toBinaryString(b))); What is output of code? Can u explain how
2 Respuestas
+ 1
Haritha Vuppula , it converts both integers to binary strings. 2 to binary string is "10", 3 is "11". So the result is "10" + "11" => "1011".
0