Is there a class class in Java?

Java provides a class with name Class in java. lang package . Instances of the class Class represent classes and interfaces in a running Java application. The primitive Java types (boolean, byte, char, short, int, long, float, and double), and the keyword void are also represented as Class objects.

Sizin İçin Seçtik  How many types of class are there in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *