JAVA中八种基本数据类型

他们分别是byte、short、int、long、float、double、char、booleanui 整型编码 其中byte、short、int、long都是表示整数的,只不过他们的取值范围不同code byte的取值范围为-128~127,占用1个字节(-2的7次方到2的7次方-1)ci short的取值范围为-32768~32767,占用2个字节(-2的15次方到2的15次方-1)unic
相关文章
相关标签/搜索