Frage im Vorstellungsgespräch bei USAA

What is the difference between a Set and a List in Java?

Antwort im Vorstellungsgespräch

Anonym

30. Sept. 2022

A Set is unordered, and doesn't accept the same object more than once. The List, on the other hand, is ordered, and has no restriction about equal objects.