The Void class has one field, TYPE, which holds a reference to the Class object for type
void .
Void is not a wrapper class.You do not create instances of this class.So the Void class is an uninstantiable placeholder class to hold a reference to the Class object representing the primitive Java type void.
Void CODE class VoidExample OUTPUT Distinction DESCRIPTION Here, in the above example we are considering a void method
|