English 中文(简体)
Java.lang - Void
  • 时间:2024-12-22

Java.lang.Void Class


Previous Page Next Page  

Introduction

The java.lang.Void class is an uninstantiable placeholder class to hold a reference to the Class object representing the Java keyword void.

Class Declaration

Following is the declaration for java.lang.Void class −

pubpc final class Void
   extends Object

Field

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.

Class Methods

This class inherits methods from the following class −

    java.lang.Object

Advertisements