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?
About Question enthuware.ocpjp.v7.2.1173 :
Moderators: Site Manager, fjwalraven
-
- Posts: 3
- Joined: Wed Aug 07, 2013 4:39 pm
- Contact:
-
- Site Admin
- Posts: 10389
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1173 :
You are right. It is not new anymore and it does not wrap anything. Should be fixed.
thank you for your feedback!
thank you for your feedback!
Who is online
Users browsing this forum: No registered users and 1 guest