Question

Polymorphism, meaning "many forms," allows objects of different classes to be treated as objects of a common superclass. Which of the following best describes its core idea?

A The ability of a class to inherit properties from multiple parent classes.
B The ability to hide the internal implementation details of an object.
C The ability of an object to take on many forms, often through method overriding or overloading.
D The bundling of data and methods into a single unit.
E The process of creating multiple instances of a class.
Practice Next

Hey! Ask a query