1个回答
展开全部
终于找到了!
可以认为boolean型占八分之一个字节,即1bit.
根据sun的官方文档.
This data type represents one bit of information, but its "size" isn't something that's precisely defined.
但是,它的大小不是明确指定的.
可以认为boolean型占八分之一个字节,即1bit.
根据sun的官方文档.
This data type represents one bit of information, but its "size" isn't something that's precisely defined.
但是,它的大小不是明确指定的.
参考资料: http://topic.csdn.net/u/20071128/11/19AF0938-3700-4BB9-A84D-95A2908F8BBB.html
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询