恩,我也百度了下,你所说的应该是摘自《深入JAVA虚拟机》(第二版),看着网上和书中好多不同说法,官方这样描述:
boolean: The boolean data type has only two possible values: true and false. Use this data type for simple flags that track true/false conditions. This data type represents one bit of information, but its "size" isn't something that's precisely defined.
虽然还是很迷糊,但是却也有收获!谢了 |