Monday, November 19, 2012

When will be the class is loaded into JVM's memory

In the following 4 scenarios class is loaded into JVM's memory.

1. When we create an object
2. when we call JVM
3. When we access Static variables
4. when we acces static methods.


No comments:

Post a Comment