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.
Not sure if this is the correct place for this question, but here it is. While studying for the SCJP, my group came across the java.lang.Void class. We understood that it represents the primative return type Void. What is its purpose? Is it only used as a place holder for reflection calls???
From the JavaDoc: The Void class is an uninstantiable placeholder class to hold a reference to the Class object representing the primitive Java type void. It's there so you can do Class voidClass = void.class; for completeness with the other Class literals. Now, *why* you would need to do this, I don't know. But someone in java-land thought it was important, so there ya go.