Introduction to OOP: Chapter 12: Implications of Inheritance [next] [previous] [audio] [real] [text]

Unsafe Reverse Polymorphism in C++

Window * x;
TextWindow * y;
y = (TextWindow *) x;
Intro OOP, Chapter 12, Slide 20