Examveda
Examveda

What is the main benefit of encapsulation?

A. Improved code readability

B. Faster execution

C. Enhanced security

D. Better memory management

Answer: Option C

Solution(By Examveda Team)

Encapsulation enhances security by controlling access to data and methods of an object.

This Question Belongs to Python Program >> Advanced OOP Concepts

Join The Discussion

Related Questions on Advanced OOP Concepts

What is inheritance in OOP?

A. Creating new objects from existing ones

B. Allowing objects to share attributes and methods

C. Restricting access to object attributes

D. Converting classes into objects