Advertisements
Advertisements
Question
It is an ability to have same name but to behave differently under different situations:
Options
Encapsulation
Inheritance
Polymorphism
Abstraction
MCQ
Advertisements
Solution
Polymorphism
Explanation:
- Polymorphism means the ability of an object or method to have the same name but perform different behaviours in different situations.
- It allows one function or method name to be used for multiple purposes.
shaalaa.com
Is there an error in this question or solution?
Chapter 1: Revision of Class 9 Syllabus - Exercises [Page 43]
