what are the primitive data types in java
The eight primitive data types in Java are: 1  boolean, the type whose values are either true or false. 2  char, the character type whose values are 16-bit Unicode characters. 3  the arithmetic types: the integral types: byte.