The main purpose of the constructor is to initialize the newly created object. In abstract class, we have an instance variable, abstract methods, and non-abstract methods. We need to initialize the non-abstract methods and instance variables , therefore abstract classes have a constructor.
Read moreCan an abstract class have a constructor?
Like any other classes in Java, abstract classes can have constructors even when they are only called from their concrete subclasses .8 Ara 2021
Read more