Java有八大基本数据类型 1、byte 8位 2、short 16位 3、int 32位 4、long 64位 5、double 64位,默认小数是用它 6、float 32位 7、bool 8、char 16位