1原始数据类型(primitive data type) == 基本类型 (fundamental type)byte short int long float double char boolean引用类型 reference type2System.in System.outjava.util.ScannerScanner input = new Scanner (System.in);nextByte()nextShort()nextInt()nextLong()nextFloat()ne…