Can I have constructor in abstract class?

We can declare a constructor with no arguments in an abstract class . It will override the default constructor, and any subclass creation will call it first in the construction chain.8 Ara 2021

Sizin İçin Seçtik  Why do we use abstract methods in C#?

Leave a Reply

Your email address will not be published. Required fields are marked *