|
|
|
|
|
by yaseenk
3298 days ago
|
|
Interfaces were created because you can't extend multiple classes. It's the languages way of allowing polymorphism. You very well can create base classes and extend from them, but you will likely come across a time where you want to inherit from different things and interfaces are the only way to do that. |
|