Advantages of Encapsulation are

Advantages of Encapsulation are
A. Simplicity
B. Clarity

C. Better Understanding
D. All of the given

ANSWER: D) All of the given
Explanation : Encapsulation is one of the major concepts of the OOP. It states that an object should combine all its attributes (data members) and behaviours (methods) in a single unit. It provides simplicity and clarity, Reduces complexity and ease of understanding.

Leave a Comment