Module java.base
Package java.lang

Class Void


  • public final class Void
    extends Object
    The Void class is an uninstantiable placeholder class to hold a reference to the Class object representing the Java keyword void.
    Since:
    1.1
    • Field Detail

      • TYPE

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