Can a abstract class have static method?

Yes, of course you can define the static method in abstract class . you can call that static method by using abstract class,or by using child class who extends the abstract class. Also you can able to call static method through child class instance/object.

Sizin İçin Seçtik  Can class object call static method?

Leave a Reply

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