Loading is the process of reading a .class file from the hard disk and storing it's binary information or

data in the JVM's method area.

The list on the left hand side are the information store in the method area of the class.

Once the .class file is loaded into the method area, the JVM creates an object of the class that is loaded on the heap.

It is of type java.lang.Class.

This object is not a user object, but this is an object that represents this class

So every class that is loaded into method area will have an object representation of type java.lang.Class.

Using this java.lang.Class, we can access all the information such as the method information, variable

information, constructor information, etc, dynamically at runtime.

results matching ""

    No results matching ""