1. Home
  2. Knowledge Base
  3. Java
  4. Java.lang.Void Class

Java.lang.Void Class


The java.lang.Void class is an uninstantiable placeholder class to hold a reference to the Class object representing the Java keyword void.

Class declaration

Following is the declaration for java.lang.Void class:

public final class Void
   extends Object


Following are the fields for java.lang.Void class:

  • static Class

    TYPE — This class object representing the pseudo-type corresponding to the keyword void.

Class Methods

This class inherits methods from the following class:

  • java.lang.Object

Was this article helpful?

Related Articles