- Hands-On Penetration Testing with Python
- Furqan Khan
- 58字
- 2021-07-02 14:14:00
Polymorphism
Polymorphism refers to the property of an entity whereby it can exist in multiple forms. In terms of programming, it refers to the creation of a structure or method that can then be used with multiple objects or entities. In Python, polymorphism can be implemented in the following ways:
- Polymorphism with functions
- Polymorphism with classes (abstract classes)