The Wayback Machine - https://web.archive.org/web/20221007160125/https://www.geeksforgeeks.org/java-lang-void-class-java/amp/

Java.lang.Void Class in Java

Java.lang.Void class is a placeholder that holds a reference to a class object if it represents a void keyword. It is an uninstantiable placeholder. Well, uninstantiable means that this class has a private constructor and no other constructor that we can access from outside. 

Methods of lang.void class is all inherited from Object class in Java:

Reference: 

Java Oracle docs

 This article is contributed by Mohit Gupta. If you like GeeksforGeeks and would like to contribute, you can also write an article using write.geeksforgeeks.org or mail your article to review-team@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks. 

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

Article Tags :