Examveda

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

B. To simplify syntax

C. To create complex objects

D. To promote code reusability

Answer: Option A


Join The Discussion

Related Questions on Concept of Object Oriented Programs in Python