Collection Interface in Java – Free Java Tutorials
If we want to represent a group of individual objects as a single entity, then we should go for Collection Interface. Collection Interface defines the most common methods which are applicable for any Collection object like LinkedList, ArrayList etc. Collection Interface Methods These methods are declared inside Collection (Interface): add(Object obj) : This method we …
Collection Interface in Java – Free Java Tutorials Read More »