TaskEasy interview question

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

Interview Answer

Anonymous

20 Aug 2018

A set cannot contain duplicates where as a list can