1.

Which among the following can be viewed as combination of abstraction of data and code.(a) Class(b) Object(c) Inheritance(d) InterfacesThis question was posed to me in final exam.The query is from Abstraction topic in chapter OOPs Concept & Features of Object Oriented Programming

Answer»

The correct option is (B) OBJECT

The EXPLANATION is: Object can be viewed as abstraction of data and code. It uses data members and their functioning as data abstraction. Code abstraction as USE of object of inbuilt class.



Discussion

No Comment Found

Related InterviewSolutions