Polymorphism
Polymorphism is a fundamental concept in programming and is often associated with object-oriented programming (OOP). It allows objects of different classes to be used as objects of a common superclass or interface, providing a consistent interface to interact with these objects regardless of their specific types.
In this chapter, we’re going to cover the following main topics:
- Polymorphism
- Abstract classes
- Sealed classes