Java Void Class
Introduction
The Java 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
Field
Following are the fields for java.lang.Void class −
static Class<Void> 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