Learn - Collection - List, Set & Map in Java
Collection is an Interface in Java 1. Single dimensional – List & Set Interfaces 2. Multi-dimensional – Map Interface A Java collection framework provides an architecture to store and manipulate a group of objects. A Java collection framework includes the following: · Interfaces · Classes · Algorithm Interfaces: Interface in Java refers to the abstract data types. They allow Java collections to be manipulated independently from the details of their representation. Also, they form a hierarchy in object-oriented programming languages. Classes: Classes in Java are the implementation of the collection interface. It basically refers to the data structures that are used again and again. Algorit...