General Motors (GM) Interview Question

What is the difference between a Set and a List?

Interview Answers

Anonymous

Apr 7, 2013

set has unique elements (no duplicates) and is not ordered list is ordered and can contain duplicates

4

Anonymous

Mar 29, 2013

As set allows duplicate object values. A list doesn't

4