This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Is void a Java primitive type?? In the API java.lang.Void describes "The Void class is an uninstantiable placeholder class to hold a reference to the Class object representing the primitive Java type void." but in the JLS void is not included. For the exam, should i stick to the JLS?
You are looking at two different uses of the word. Lower case v void is the method modifier that signifies no return value, it is not a primitive. Upper case V Void is - as you found - a placeholder used in reflection. I dunno why the JavaDocs say: