How can Encapsulation be achieved?
(a) Using Access Specifiers
(b) Using only private members
(c) Using inheritance
(d) Using Abstraction
I have been asked this question in an international level competition.
This is a very interesting question from Encapsulation in section OOPs Concept & Features of Object Oriented Programming