The Java programming language has two kinds: basic types and reference types. The primitive types (4.2) are the boolean and numeric types. The numeric types are the integral byte, short, int, long, and char, and the floating-point types are float and double.