The java.lang.Void class is an uninstantiable placeholder class to hold a reference to the Class object representing the Java keyword void.
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<Void> TYPE − This class object representing the pseudo-type corresponding to the keyword void.
This class inherits methods from the following class −