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:

Name:
Mobile:
Email:(Optional)

» Your comments will be displayed only after manual approval.