|
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:
Urgent ! What does the class reference contain?
Posted by Ujjwal Verma on August 31, 2000 at 10:58 PM
When we make a class reference variable by writing say "graphics g" then what actually goes in "g" , prototypes of all the methods + address of class "graphics" or just the prototypes of all the methods found in the "graphics class" . Secondly when we make an object reference by writing say "A obj1=new A()" then what actually goes in "obj1" , Address of the class copy made in memory + prototypes of all the methods in that copy or just the address of that copy of class .
Replies:
|