what is meant by polymorphism explain with an example
Answers
Answered by
3
Answer:
The word polymorphism means having many forms. In simple words, we can define polymorphism as the ability of a message to be displayed in more than one form. Real life example of polymorphism, a person at the same time can have different characteristic. Like a man at the same time is a father, a husband, an employee.
please mark as brainliest
Answered by
2
Polymorphism refers to a programming language's ability to process objects differently depending on their data type or class.
Example: A person at the same time can have different characteristic. Like a man at the same time is a father, a husband, an employee.
❣️Thnx dear....!!❣️
Similar questions