Java.lang Package Classes

Java.lang.void Class

Java void Class

Java.lang package provides a void class which is an uninstantiable placeholder class to hold a reference to the Class object representing the Java keyword void.

Class declaration

The declaration of java.lang.void class is:

public final class Void
  extends Object


S.NFields & Description
1. public static final Class<Void> TYPE
The Class object representing the pseudo-type corresponding to the keyword void.

Methods inherited

This class inherits the methods of following class:

  • java.lang.Object