1.

If a class inheriting an abstract class does not define all of its function then it will be known as?(a) Abstract(b) A simple class(c) Static class(d) None of the mentionedI got this question during an interview for a job.Asked question is from Inheritance topic in section Inheritance of Java

Answer»

Correct choice is (a) Abstract

The best explanation: Any subclass of an abstract class must either IMPLEMENT all of the abstract method in the SUPERCLASS or be itself DECLARED abstract.



Discussion

No Comment Found

Related InterviewSolutions