>
Java共有三类八种,分别为:字符类型char、布尔类型boolean以及数值类型byte、short、int、long、float、double。数值类型又可以分为整数类型byte、short、int、long和浮点数类型float、double。
图文推荐