A reference variable is a variable that is for an object. You pass  
objects to methods as a reference only.

I hope that helps explain it.

Stephen

Sent from my iPhone

On Dec 23, 2009, at 10:16 AM, Shashank Malhotra  
<[email protected]> wrote:

> I came across the following line:
>       A reference variable of a superclass can be assigned a  
> reference to any subclass derived from that superclass.
> what does that mean??
> What is a reference variable??
> -- 
> To post to this group, send email to 
> [email protected]
> To unsubscribe from this group, send email to 
> [email protected]
> For more options, visit this group at 
> http://groups.google.com/group/javaprogrammingwithpassion?hl=en

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en

Reply via email to