There is no Collections interface. There is an interface Collection. Collections is a class of static methods for work with collections.
Lists (objects of List type) could contain the same objects, as opposed to objects of type Set.
Interfaces Set, List and Queue are inherited from the Collection interface.
Войдите чтобы поставить Нравится
Войдите чтобы прокомментировать