Which of these keywords cannot be used for a class which has been declared final?
A. abstract
B. extends
C. abstract and extends
D. None of the mentioned
Answer:A
Which of these keywords cannot be used for a class which has been declared final?
A. abstract B. extends C. abstract and extends D. None of the mentioned
Explanation: A abstract class is incomplete by itself and relies upon its subclasses to provide complete implementation. If we declare a class final then no class can inherit that class, an abstract class needs its subclasses hence both final and abstract cannot be used for a same class.