Single Choice
Moderate
Q______ allows multiple objects of different subclasses to be treated as objects of a single super class.
ID: #19898
Basic Concept of OOP
74 views
Question Info
#19898Q ID
ModerateDifficulty
Basic Concept of OOPTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
The correct answer is:
C. Polymorphism
Polymorphism allows multiple objects of different subclasses to be treated as objects of a single superclass. This is achieved through both compile-time polymorphism (method overloading) and run-time polymorphism (method overriding). Polymorphism enables flexibility and code reuse by allowing objects of different types to be used interchangeably, as long as they adhere to a common interface (such as a shared superclass).
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic