1
Reply

Can an abstract class have constructor? if yes then we know we can't instantiate the abstract class so how we can call constructor and how we can use it.

Naveen Bisht

Naveen Bisht

7y
447
0
Reply

    Yes, we can have constructor of abstract class. When you create instance of a class that is derived from the abstract class, the parent abstract constructor is automatically called.