Why do many Collection classes in Java extend the abstract class and implement the interface as well?

It’s a way to remember that this class really implements that interface.
It won’t have any bad effect and it can help to understand the code without going through the complete hierarchy of the given class.

Leave a Comment