The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2000

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:

Urgent ! What does the class reference contain?

Posted by Ujjwal Verma on August 31, 2000 at 10:57 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 t



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us