Python — From Basics to Advanced · OOP — Object-Oriented Programming
Polymorphism and Abstract Classes
OOP — Object-Oriented Programming
Introduction
Polymorphism allows different classes to share the same interface. Abstract classes (ABC) enforce that a subclass MUST implement specific methods.