标签:
Byte.SIZE
//8
Short.SIZE
//16
Character.SIZE//16
Integer.SIZE
//32
Float.SIZE);
//32
Double.SIZE
//64
Long.SIZE
//64
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
比如 1:00000000000000000000000000000001
而 -1:11111111111111111111111111111111
最大值 :01111111111111111111111111111111 2147483647 2的31次方减一
最小值 :10000000000000000000000000000000 -2147483648 2的31次方
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Java整数占几个字节,以及负数的二进制表示方法,以及Java的逻辑运算符>>和>>>的区别
标签:
原文地址:http://blog.csdn.net/kkgbn/article/details/45225329