What is Polymorphism?
Polymorphism is one of the core concepts of object-oriented programming language. Polymorphism means the same function with different signatures is called many times. In real life, for example, a boy at the same time may be a student, class monitor, etc. So a boy can perform different operations at the same time. This is called polymorphism.
Features of Polymorphism:
- Programmers can be use the same method name repeatedly.
- Polymorphism has the effect of reducing the number of functionalities that can be paired together.
Implementing Polymorphism with Functions and Object.
20000 Class B
Please Login to comment...