<AptiCode/>

Question 498: In Python, what is encapsulation?

tcs
wipro
infosys
general
aptitude
encapsulation
python-programming

Encapsulation in Python involves bundling the data and methods of a class and controlling access to the internal details, exposing only the necessary functionalities.