Question

The bundling of data (attributes) and methods (functions) that operate on the data into a single unit (class), and restricting direct access to some of the object's components, is known as:

A Abstraction
B Polymorphism
C Inheritance
D Encapsulation
E Modularity
Practice Next

Hey! Ask a query