Monday, July 5, 2010

Subclass Object Referenced By Superclass Variable

A reference variable of a superclass can be assigned a reference to any subclass derived from that superclass.

superclass_object=subclass_object

No comments:

Post a Comment