1. HashSet extends AbstractSet, which extends AbstractCollection.
2. ArrayList extends AbstractList, which also extends AbstractCollection.
3. PriorityQueue extends AbstractQueue, which also extends AbstractCollection.
HashMap extends AbstractMap, which is not related to AbstractCollection
4. SortedSet and NavigableMap are interfaces of collections framework.
Войдите чтобы поставить Нравится
Войдите чтобы прокомментировать