1.

If a class have all the abstract methods the class will be known as ___________(a) Abstract class(b) Anonymous class(c) Base class(d) Derived classI got this question in final exam.Question is from Abstract Function in division Member Functions & its Types of Object Oriented Programming

Answer» RIGHT answer is (a) Abstract class

Easiest explanation - The CLASSES CONTAINING all the abstract METHODS are known as abstract classes. And the abstract classes can never have any normal function with definition. Hence known as abstract class.


Discussion

No Comment Found

Related InterviewSolutions