Object-Oriented Programming: Classes, Encapsulation and Polymorphism
Objects bundle data with the behaviour that belongs to it. Learn classes and instances, encapsulation and invariants, inheritance versus composition, polymorphism through a shared interface, and when object orientation helps or gets in the way. Then build a small class hierarchy and a bank account that protects its own rules.
Object-Oriented Programming: Classes, Encapsulation and Polymorphism
Objects bundle data with the behaviour that belongs to it. Learn classes and instances, encapsulation and invariants, inheritance versus composition, polymorphism through a shared interface, and when object orientation helps or gets in the way. Then build a small class hierarchy and a bank account that protects its own rules.
In this lesson:
- oop
- classes
- encapsulation
- inheritance
- polymorphism
- composition
- python
Official References
This lesson is part of a paid plan
Upgrade to Pro to unlock this course, its labs and its exam.
View Pricing Plans