binary to number to 32 bits in java code example Example: binary to integer in java System.out.println(Integer.parseInt("1010",2));