What is encapsulation in object-oriented programming?
-
A
Bundling data and methods within a class while restricting direct access to internal state
-
B
The ability of a class to inherit properties from another class
-
C
Defining multiple methods with the same name in a class
-
D
Creating objects from abstract blueprints