1.

Which among the following best defines abstraction?(a) Hiding the implementation(b) Showing the important data(c) Hiding the important data(d) Hiding the implementation and showing only the featuresThe question was posed to me in final exam.My doubt stems from Abstraction topic in portion OOPs Concept & Features of Object Oriented Programming

Answer»

Correct option is (d) Hiding the implementation and showing only the features

The BEST I can explain: It includes hiding the implementation part and showing only the required data and features to the user. It is done to hide the implementation COMPLEXITY and details from the user. And to provide a GOOD INTERFACE in programming.



Discussion

No Comment Found

Related InterviewSolutions