Can we replace interface with abstract class?

If an abstract class contains only abstract method declarations, it should be declared as an interface instead . Multiple interfaces can be implemented by classes anywhere in the class hierarchy, whether or not they are related to one another in any way.

Sizin İçin Seçtik  How do I simulate a slow network connection in Windows?

Leave a Reply

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