er.Amit Kumar wrote:The Biggest difference is versioning
Let us Think of a scenario where We have a project having multiple classes.
Now we want to add a method so that all classes in the project can access this method, we can either add this new method to abstract class or interface.
In case of interface
if we add this new method to interface, all classes implementing this interface must override this new method
and you will always find it hard to get and edit all classes implementing this interface, even if new method is not relevant to be overriden
Any problem: mail me firstname.lastname@example.org