1.

Which of the following is an abstract data type?(a) int(b) float(c) class(d) stringI got this question in unit test.I'd like to ask this question from OOPs Concept in portion Basics Concepts of C++ of C++

Answer»

The correct OPTION is (C) class

The explanation: Class is used as an abstract DATA TYPE as it can be used to give implementation independent view WHEREAS no other data type can be used to provide this.



Discussion

No Comment Found

Related InterviewSolutions