+ 3
why do we need to use interfaces rather than abstract classes?
4 Antworten
+ 4
If everything is abstract use an interface. You can generally implement multiple interfaces but most languages don't allow multiple inheritance.
+ 2
Would you like to give some real time examples of interface and abstract class