ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
What is 'Basis of Encapsulation'?
Correct Answer: D — all of the mentioned
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.