TaskEasy interview question

What is the difference between a set and a list (in Java)?

Interview Answer

Anonymous

Aug 20, 2018

A set cannot contain duplicates where as a list can