日期:2014-05-20 浏览次数:20692 次
public class Demo12
{
public static void main(String[] args)
{
System.out.println((51+52*256)&255);
System.out.println(Integer.toBinaryString(51+52*256));
System.out.println(Integer.toBinaryString(255));
/**
* 11010000110011
*& 00000011111111
* 00000000110011//这个东东对应的十进制就是51
*/
System.out.println(Integer.parseInt("00000000110011", 2));
}
}