We could use an abstract class here but we use an interface because it allows more flexibility.
May you tell me advantages of using interface instead of abstract class?
(By code ,Please)
Of course what you posted was interesting,But my discussion is:
What are advantages of using interface instead of Multiple inheritance?
It seems what you posted is about multiple interfaces.