What is class object in Java?

A Class object is an instance of Class (java.lang.Class). Below quote taken from javadoc of class should answer your question. Class has no public constructor. Instead Class objects are constructed automatically by the Java Virtual Machine as classes are loaded and by calls to the defineClass method in the class loader …15 Ara 2010

Sizin İçin Seçtik  What are some examples of classes?

Leave a Reply

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