1.

An abstract class is always a __________ class.(a) Base(b) Derived(c) Template(d) NestedI got this question during an interview.I'd like to ask this question from Base Class topic in chapter Classes of Object Oriented Programming

Answer»

Right choice is (a) Base

To explain I would say: Every ABSTRACT CLASS is a base class. It must be so, because the FUNCTIONS which are not defined INSIDE the abstract class, must be defined in the derived classes. HENCE it becomes a base class.



Discussion

No Comment Found

Related InterviewSolutions