_______ is the ability of an object to take on many forms in OOP.
- Abstraction
- Encapsulation
- Inheritance
- Polymorphism
Polymorphism is the ability of an object to take on many forms. In object-oriented programming (OOP), it allows objects of different types to be treated as objects of a common type, providing flexibility and extensibility in code design.
Loading...
Related Quiz
- The command "git bisect" is used for _______ debugging in Git.
- Granular recovery allows for the restoration of _______ components rather than the entire system.
- A company needs to handle large volumes of semi-structured data. Which type of database would you recommend, and why?
- What does the === operator do in JavaScript?
- What is Git?