In fact, this may be just a practice of Java developers. Usually our requirements will say which interfaces a certain class needs to implement, but in fact, if we take the trouble to find the mutual dependencies of these interfaces and then exclude duplicate projects, the process is cumbersome, and these duplicates will also be compiled during compilation. automatically processed. So these people directly write the classes that are required to be implemented, eliminating the trouble of manual deduplication.
Improve the interface. The functions carried by the same interface of Collection and List are not exactly the same.
Improving the documentation is somewhat related to the first point.
In fact, this may be just a practice of Java developers.
Usually our requirements will say which interfaces a certain class needs to implement, but in fact, if we take the trouble to find the mutual dependencies of these interfaces and then exclude duplicate projects, the process is cumbersome, and these duplicates will also be compiled during compilation. automatically processed. So these people directly write the classes that are required to be implemented, eliminating the trouble of manual deduplication.
If there are N levels of inheritance, then you have to find the lowest interface method all the time