Object Orientated Programming: Week 4

Banner

Inheritance

LEARNING OBJECTIVES


This week we are going to look at:

1. Introducing SINGLE INHERITANCE
2..Introducing MULTIPLE INHERITANCE
3..Introducing POLYMORPHISM

Python 


Powerpoint: Basic Inheritance

Powerpoint: 
Multiple Inheritance

Powerpoint: Polymorphism


Two page sumnary



Videos:
Basic Inheritance


Multiple Inheritance


Polymorphism




Sample Code:
Contact * Supplier * Supplier-Order * Contact-List * SupplierCheck * Supplier-Super * EmailableContact * AudioFile


Let's Learn Python #10 - Inheritance


Python3 Intermediate Tutorial 4 - Inheritance



Links



Lab #4
Lab #4 is all about checking if what you have learned in the episodes above all makes sense, and if you can use inheritance in Python.



Back

If you have any suggestions, corrections, or comments, please feel free to e-mail me at:
Damian.X.Gordon(a)tudublin.ie