Can an abstract class be used as a parameter type for methods?

When a class is declared as an abstract class, then it is not possible to create an instance for that class. It can, however, be used as a parameter in a method .

Sizin İçin Seçtik  Can you have an abstract class of an abstract class?

Leave a Reply

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