What is abstract class in Java?



Kriti Said

+0 -0

An abstract class in Java is a class that cannot be instantiated and is typically used as a base class for other classes. An abstract class can contain both abstract methods (methods without a body) and concrete methods (methods with a body).
An abstract class is defined using the "abstract" keyword.



Submit Your Response