Home » JAVA Programming » Object & Classes » Question
  1. Which of these keywords cannot be used for a class which has been declared final?
    1. extends
    2. abstract and extends
    3. abstract
    4. extends and abstract
    5. None of these
Correct Option: C

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.



Your comments will be displayed only after manual approval.