What is the difference between an interface and an abstract class explain with example?

Abstract class can inherit another class using extends keyword and implement an interface. Interface can inherit only an inteface . Abstract class can be inherited using extends keyword. Interface can only be implemented using implements keyword.26 Kas 2019

Sizin İçin Seçtik  Bozuk euroları nerede Bozdurabilirim?

Leave a Reply

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