System.out.println(Integer.toBinaryString(-192)); 
System.out.println(Integer.toBinaryString(2));print:11111111111111111111111101000000
10