Question

What is the purpose of polymorphism in object-oriented programming?

A It is a way to define multiple constructors within a class.
B It is a way to define multiple methods with the same name but different parameters.
C It is a way to create multiple instances of a class.
D It is a way to hide the internal details of an object.
Practice Next

Relevant for Exams:

Hey! Ask a query