Reference Variables

alampro_at_yahoo.com
Date: 03/22/05


Date: 22 Mar 2005 03:03:11 -0800

In object oriented programming, in the following expression :
"reference variable", can be defined as "A reference variable type (or
class) is used to refer to instances of the type (or class)".

Intuisivly i suppose that it means "a pointer that points to an
object", ie

BaseClass myObject = new DerivedClass;

// myObject is the reference variable to BaseClass

Is this correct?

Thank you in advance,
SunScreen