Introduction to OOP: Chapter 10: Subclasses and Subtypes
[next]
[previous]
[audio]
[real]
[text]
Binding in Object Pascal
-
Statically typed language
-
Polymorphic variables - values maintain their type
-
Legality of message passing checked at compile time using static class.
-
Testing for reverse polymorphism performed using function named member.
-
Assignment of reverse polymorphism performed using a cast (conversion
operator).
Intro OOP, Chapter 10, Slide 14