1.

Abstraction can apply to ____________(a) Control and data(b) Only data(c) Only control(d) ClassesThis question was posed to me in an online quiz.My question is based upon Abstraction in division OOPs Concept & Features of Object Oriented Programming

Answer» RIGHT answer is (a) CONTROL and DATA

Easy explanation - Abstraction applies to both. Control abstraction involves use of subroutines and control FLOW abstraction. Data abstraction involves handling PIECES of data in meaningful ways.


Discussion

No Comment Found

Related InterviewSolutions