四类: 整数类型,浮点类型,字符型,布尔型 八种: byte,short,int,long,float,double,char,boolean 转载于:https://www.cnblogs.com/niexinlei/p/9687080.html