Kizspy | Question: 41
(Choose 1 answer)
What is encapsulation in OOP?
A. Inheriting properties from another class
B. Hiding the internal state of an object and requiring all interaction to be performed through an object's
methods
C. Allowing multiple classes to have the same method names
D. Creating objects dynamically at runtime