Apr 09: Polymorphism
Learning Objectives
After today's class, you should be able to:
- Identify what objects can be assigned to what types of variables.
- Write the code for interfaces and abstract classes based on UML.
- Predict whether polymorphic code has compiler or run-time errors.
Lesson Outline¶
Q&A [5 min]
- Hints for HW 8
Lab12 [45 min]
- Lab 14: Abstract Types
- Q1–Q3: 10 min each
- Discuss solutions
- Last 10 min: Q4–Q5