VoidNameVoidSynopsis
DescriptionThe Void class is an uninstantiable wrapper for the primitive type void. The class contains simply a reference to the Class object that represents the primitive type void. The Void class is necessary as of JDK 1.1 to support the Reflection API and class literals. Class Summary
public final class java.lang.Void extends java.lang.Object { // Constants public static final Class TYPE; } ConstantsTYPEpublic static final Class TYPEThe Class object that represents the primitive type void. It is always true that Void.TYPE == void.class. Inherited Methods
See AlsoByte, Character, Class, Double, Float, Integer, Long, Short |
|