Python Programming - Encapsulation - Discussion

Discussion Forum : Encapsulation - General Questions (Q.No. 41)
41.
Which of the following is a benefit of encapsulation?
Increased code complexity
Improved code reusability
Reduced data security
Unrestricted access to internal details
Answer: Option
Explanation:
Encapsulation in Python promotes improved code reusability by encapsulating data and methods into a single unit.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.