Hi everyone,
we were taught about Generics and Interfaces at uni and I wasn't sure what the perfect situations are to use interfaces because they don't have implementation in them so they work as a contract to other classes where everyone can implement their methods as long as they extend the interfaces.
As for generics, as far as I understand them, you make your own data structure or data type, right?
that would be greatly appreciated if someone can clarify those points.