Q56
What is the main advantage of using encapsulation in object-oriented programming?
A.
To hide the internal details of an object and provide a controlled way to access and modify its attributes
AnswerB.
To simplify syntax
C.
To create complex objects
D.
To promote code reusability
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board