1.

Which feature can be implemented using encapsulation?(a) Inheritance(b) Abstraction(c) Polymorphism(d) OverloadingThe question was posed to me in an international level competition.I would like to ask this question from Encapsulation topic in portion OOPs Concept & Features of Object Oriented Programming

Answer»

Right option is (B) ABSTRACTION

Easiest explanation - Data abstraction can be achieved by using ENCAPSULATION. We can hide the OPERATION and structure of actual program from the user and can show only required information by the user.



Discussion

No Comment Found

Related InterviewSolutions