News

class java.util.ArrayList class java.util.LinkedList In this case, the implementation methods for ArrayList, LinkedList, and Vector are all different, which is a great scenario for using an interface.
This makes the class extensible to an infinite number of Shape classes that could potentially be created. SOLID principles applied. Furthermore, the OpenClosedExample supports all of these new classes ...