Vidyalelo
Python · Q49

Concept of Object Oriented Programs in Python

Programming · Python · question 49

Q49

What is the purpose 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