1.

Abstract classes can ____________________ instances.(a) Never have(b) Always have(c) Have array of(d) Have pointer of

Answer» The correct choice is (a) Never have

The best I can explain: When an abstract class is defined, it won’t be having the implementation of at least one function. This will restrict the class to have any constructor. When the class doesn’t have constructor, there won’t be any instance of that class.


Discussion

No Comment Found

Related InterviewSolutions