Primitive types refers to some datatypes. Those datatypes are boolean, char, int, double, float, long, byte, and short. These datatypes do not hold the properties of objects, like the Class type String does.Class type refers to datatypes that do hold the properties of objects.
Char is the datatype for unicode and holds one character.
Int,double,float,long,short, and byte all refer to numbers.
Boolean is the datatype that’s value can only be true or false.