Java - Java Primitive Data Types

What are Java Primitive Data Types

Java has eight primitive data types: byte, short, int, long, char, float, double, and boolean.

They are divided into two categories:

Category Data Types
boolean data typeboolean
numeric data type byte, short, int, long, char, float, double

The numeric data type can be further subdivided:

CategoryData Types
integral types byte, short, int, long, char
floating-point typesfloat, double