convert int binary java code example
Example 1: java integer to binary string
int n = 1000;
String s = Integer.toBinaryString(n);
Example 2: binary number input in int java
Integer.toBinaryString(int i)
int n = 1000;
String s = Integer.toBinaryString(n);
Integer.toBinaryString(int i)