Page 1 of 1

About Question enthuware.ocpjp.v7.2.1173 :

Posted: Thu Apr 24, 2014 12:19 pm
by dhunziker
I found this quite difficult to answer even though I knew that the Void class existed. But does it wrap something or not? Well, its TYPE variable is related to void, but obviously there isn't really anything to wrap.

However, the explanation given is a bit confusing too: "A new Void class has been added for completeness". JavaDoc shows that this has been introduced with JDK1.1, so is there anything new or special about java.lang.Void in Java7?

Re: About Question enthuware.ocpjp.v7.2.1173 :

Posted: Thu Apr 24, 2014 8:54 pm
by admin
You are right. It is not new anymore and it does not wrap anything. Should be fixed.

thank you for your feedback!