1.

Which class can have member functions without their implementation?(a) Default class(b) String class(c) Template class(d) Abstract classThe question was asked in my homework.I want to ask this question from Classes topic in section OOPs Concept & Features of Object Oriented Programming

Answer»

Right option is (d) Abstract class

The explanation is: Abstract classes can have MEMBER functions with no implementation, where the inheriting SUBCLASSES must implement those functions.



Discussion

No Comment Found

Related InterviewSolutions