Which of the following best describes polymorphism?
(a) Ability of a class to derive members of another class as a part of its own definition
(b) Means of bundling instance variables and methods in order to restrict access to certain class members
(c) Focuses on variables and passing of variables to functions
(d) Allows for objects of different types and behaviour to be treated as the same general type
This question was posed to me in homework.
My question is based upon Polymorphism topic in section Classes and Objects, Inheritance, Polymorphism, Encapsulation and Exception Handling of Python