Python Programming - Classes - Discussion
Discussion Forum : Classes - General Questions (Q.No. 9)
9.
What is encapsulation in the context of object-oriented programming?
Answer: Option
Explanation:
Encapsulation is one of the pillars of object-oriented programming and involves bundling the data (attributes) and the methods that operate on the data into a single unit. It helps in hiding the internal implementation details of an object and exposing only what is essential.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers