Which class is the top of Java class?

6 Object is the top of the Java inheritance hierarchy , so classes of metaobjects, including Class, are subclasses of Object. This means that the methods of Object are part of the reflection API. All Java classes are instances of its only metaclass, Class. These two conditions create a cycle in the diagram.

Sizin İçin Seçtik  How many classes are there in JDK?

Leave a Reply

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