You will find a consolidated index at Baldwin's Java Programming Tutorials . This lesson will discuss the purpose of the interfaces in the Collections Framework. Subsequent lessons will discuss implementations and algorithms. Hopefully, the following paragraphs will answer that question. A collection is an object of some type, and that type is defined in a generic sense by one or more interfaces that make up the Collections Framework.
All data types specify the operations that can be performed on an entity of that type.
Interface is a type An object in Java can often be considered to be of several different types. One of those types is determined by any interfaces implemented by the class from which the object was instantiated. Framework collection objects in Java are instantiated from classes that implement the core interfaces of the framework. Thus, a Java interface in the Collections Framework specifies the type of such an object, and provides a generic representation of the operations that apply across different implementations of the interface. Collection interface declares several methods The Collection interface declares several methods.