The primitive Java types (boolean, byte, char, short, int, long, float, and double), and the keyword void are also represented as Class objects . It has no public constructor. Class objects are constructed automatically by the Java Virtual Machine(JVM).