Discuss Forum
1.
If same message is passed to objects of several different classes and all of those can respond in a different way, what is this feature called?
- A. Inheritance
- B. Inheritance
- C. Inheritance
- D. Inheritance
Answer: Option C
Explanation:
The feature defined in question defines polymorphism features. Here the different objects are capable of responding to the same message in different ways, hence polymorphism.
Post your comments here: