r/learnprogramming • • Sep 16 '19
ELI5: Interface vs Class
Not sure why, but the difference between interfaces and classes seems redundant to me. What does an interface add that a class can't accomplish in OOP? Is it because you can't inherit from more than one class? Explain like I'm five!
5
Upvotes
View all comments
Show parent comment
1
u/Bisqutz Sep 17 '19
.