Interfaces Flashcards
1
Q
What are the differences between interface and inheritance?
A
We can multiple inherit from Interfaces.
Class implement interfaces and they don’t inherit from interfaces. That means that classes have to implement all the methods of interfaces.
Interfaces are used to build loosely coupled and testable applications.