Python Programming - Classes - Discussion

Discussion Forum : Classes - General Questions (Q.No. 16)
16.
What does the term "polymorphism" mean in the context of object-oriented programming?
It refers to the ability of a class to inherit from multiple classes.
It signifies the encapsulation of data and methods within a class.
It is the ability of different classes to be used interchangeably.
It defines the hierarchy of classes in a program.
Answer: Option
Explanation:
Polymorphism in object-oriented programming allows objects of different classes to be treated as objects of a common base class. It enables code to work with objects of various types through a common interface.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.