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

1 thought on “Which of these keywords cannot be used for a class which has been declared final?”

  1. a
    Explanation: A abstract class is incomplete by itself and relies upon its subclasses to provide a 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.

Leave a Comment