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:
|
Is it helpful?
Yes
No
Most helpful rated by users: