Q. What is true about encapsulation?
β
Correct Answer: (A)
It hides the implementation details of an object
Explanation: Encapsulation protects object integrity by hiding internal data and requiring access through methods.