Vidyalelo
Python · Q56

Concept of Object Oriented Programs in Python

Programming · Python · question 56

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
Answer
B.
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