News

class java.util.ArrayList class java.util.LinkedList In this case, the implementation methods for ArrayList, LinkedList, ... A class can implement multiple interfaces.
In other words, a Java class that supports the SOLID open-closed principle will find use in originally un-envisioned scenarios, and be flexible enough to work with newly created classes, interfaces ...