![]() |
Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
> When we make a class reference variable by writing say > Secondly when we make an object reference by writing say First of all, if class A is not loaded, the JVM will load try to find, load, link, and initialize it. After that, obj1 will contain a Class instance pointing the memory block where A was loaded. This will be the place where obj1 goes to get the its declared methods. It would contain a copy of all the local variables and that of its parents. It would also contain a Method Table of direct references to its methods for quick future access.
Replies: |
Sponsored Links
|