As a result of classloading by the ClassLoader, a Class object (an object of class java.lang.Class) is going to be created on the heap. This is what consists of the plan of the class as its state. Every object created from a class is going to be linked to its Class object (obtainable from the getClass() method available in the Object class - that is available in every object). Also as a result of class loading, the bytecode of the methods defined in a class is going to read into the MethodArea of the internal memory of JVM (Remember that JVM is a program which is given some memory by the OS when it is executed - this memory is compartmentalized to Stack, Heap, Method Area). The Class object contains linkages to the method bytecode of the class in the MethodArea as well.
This all the process will happen when the class has been loaded I want to know How JVM will store all the objects by using Hastable and how is our equels() and hashcode() will work with that.