Class Void
java.lang.Object
java.lang.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 Summary
Modifier and Type | Field | Description |
---|---|---|
static final Class<Void> |
TYPE |
The Class object representing the pseudo-type corresponding to the keyword void . |
Method Summary
Field Details
TYPE
public static final Class<Void> TYPE
The
Class
object representing the pseudo-type corresponding to the keyword void
.
© 1993, 2021, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Void.html