Top News

What is an abstract class in Java?

 


An abstract class in Java has one or more abstract methods. An

abstract method is just declared in the abstract class, but it is not

implemented.

An abstract class has to be extended in Java and its abstract

methods have to be implemented by a child class. Also Java does

not allow new instance of Abstract class.

Post a Comment

Previous Post Next Post