Map Interface Extends Collection Interface: Web the collection interface is not directly implemented by any class. Web there are many collection classes in java and all of them extend the java.util.collection and java.util.map. Maps in the java library are not treated as regular collections, so the map interface doesn’t.
Map Interface Extends Collection Interface

However, it is implemented indirectly via its subtypes. Web the map interface includes methods for basic operations (such as put, get, remove, containskey, containsvalue, size, and. 0 a map doesn’t have some of the methods of the collection interface (such as add,.
Map Interface Extends Collection Interface: Web the map interface includes methods for basic operations (such as put, get, remove, containskey, containsvalue, size, and. Web list, set, and queue interfaces extend the collection. The collection is further extended by list,.