Loading practice questions
What is 'Basis of Encapsulation'?
Correct Answer: D — all of the mentioned
Explanation:
Encapsulation is the mechanism that binds together code and data it manipulates, and keeps both safe from outside interface and misuse. Class, which contains data members and methods is used to implement Encapsulation.