This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
The Void class is an uninstantiable placeholder class to hold a reference to the Class object representing the Java keyword void.
What that means is that you don't do anything with it! Since it can't be instantiated (private constructor) you can't use it. Since it is final you can't override it. Therefore, it only exists to provide a placeholder for the class type holding the void variable. Regards, Manfred.
The keyword "void" is NOT a primitive type. In the Java language, there are only 8 primitive types: boolean, byte, char, short, int, long, double, and float. Only these primitive types have a corresponding wrapper class; these are Boolean, Byte, Character, Short, Integer, Long, Double, and Float, respectively.