First page Back Continue Last page Graphics
Dynamic Binding cont.
Upcasting, (converting a derived-class reference or pointer to a base-class reference or pointer) is always allowed for public inheritance.
This can go deeper. Anything that can be done to a Brass object, can be done to a BrassPlus object, and a BrassPlusPlus object.
Part of expressing an “is-a” relationship.