Convert decimal integer to binary number example
public class Main { public static void main(String[] args) { int i = 78; String strBinaryNumber = Integer.toBinaryString(i); System.out.println(strBinaryNumber); } } //1001110