摘至The Java® Language Specification Java SE 11 Edition。
java编程语言类型。
其分为两类:1.primitive types和 2.reference types。
primitive types分为boolean type和numeric types
numeric types有integral typers(byte,short,int,long,char)和floating-point types(float,double)
reference types有class types或interface types和array types(还有一个特殊的null type)。
- primitive types
- boolean type
- numeric types
- integral typers(byte,short,int,long,char)
- floating-point types(float,double)
- reference types
- class types
- interface types
- array types