[first slide]
Introduction to Object Oriented Programming
Chapter 10
Subclasses and Subtypes
Outline
- Related Concepts
- Typing
- Static Type Errors
- Polymorphic Variables
- Static and Dynamic classes
- Subclasses and Subtypes
- Reverse polymorphism
- Two aspects of reverse polymorphism
- The Container Problem
- Can We Tell What Comes Out?
- Static and Dynamic Method Binding
- Merits of Static versus Dynamic Binding
- Binding in Object Pascal
- Binding in Smalltalk
- Binding in Objective-C
- Binding in C++
- Binding in Java
- Interfaces
Other Material