Home »
MCQs »
Java MCQs
Abstract class is ___
36. Abstract class is ___.
- Created using abstract keyword
- Contains only abstract method
- Needs to be inherited to be used
- All of these
Answer: D) All of these
Explanation:
An abstract class is a class that contains an abstract method. It is defined using abstract keyword only has method declarations and to use these methods, the abstract class needs to be inherited.