Java OOPs Interview Questions and Answers
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:
|
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users: