Type Conversion - Reverse Polymorphism

In an earlier chapter, we have already examined the issue of reverse polymorphism. That is, can be reverse the polymorphic assignment. Some of the issues in this should now be more obvious to you. For example, if our language uses slicing (as does C++), then clearly a reverse polymorphic assignment will never work, because we have lost the information needed to restore the state of the child class value.

[audio] [real] Text to accompany slide18, in Chapter 12 of An Introduction to Object-Oriented Programming