Question

Which of the following best represents the concept of polymorphism in Object-Oriented Programming? 

A Hiding the internal details of an object and exposing only the required functionality
B The ability to define a method in different forms in derived classes
C Establishing a "has-a" relationship between two classes
D Grouping related fields and methods within a class
E Allowing objects of different classes to relate without common functionality
Practice Next

Relevant for Exams:

Hey! Ask a query