adplus-dvertising
frame-decoration

Question

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.

Overloading

c.

Polymorphism

d.

Overriding

Answer: (c).Polymorphism

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. 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?

Similar Questions

Discover Related MCQs

Q. Which type of function among the following shows polymorphism?

Q. In case of using abstract class or function overloading, which function is supposed to be called first?

Q. Which among the following can’t be used for polymorphism?

Q. Which among the following can show polymorphism?

Q. Polymorphism is possible in C language.

Q. Which problem may arise if we use abstract class functions for polymorphism?

Q. Which among the following is not true for polymorphism?

Q. If 2 classes derive one base class and redefine a function of base class, also overload some operators inside class body. Among these two things of function and operator overloading, where is polymorphism used?

Q. Which among the following best describes encapsulation?

Q. If data members are private, what can we do to access them from the class object?

Q. While using encapsulation, which among the following is possible?

Q. Which feature can be implemented using encapsulation?

Q. Find which of the following uses encapsulation?

Q. Encapsulation helps in writing ___________ classes in java

Q. Which among the following should be encapsulated?

Q. How can Encapsulation be achieved?

Q. Which among the following violates the principle of encapsulation almost always?

Q. Which among the following would destroy the encapsulation mechanism if it was allowed in programming?

Q. Which among the following can be a concept against encapsulation rules?

Q. Encapsulation is the way to add functions in a user defined structure.