Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: What is an abstract class in Java?
Answer: An abstract class is a class that cannot be instantiated on its own and may contain abstract methods. It is meant to be subclassed by concrete classes.

Example:

abstract class Shape { /* abstract methods */ }
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook