Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which of the following is a mechanism that allows several objects in an class hierarchy to have different methods with the same name?

a) Aggregation
b) Polymorphism
c) Inheritance
d) All of the mentioned

Answer: b
Explanation: In polymorphism instances of each subclass will be free to respond to messages by calling their own version of the method.

Join The Discussion