General Motors
Employer Engaged

Interview Question

Senior Software Developer Interview Detroit, MI

What is the difference between a Set and a List?


Interview Answer

2 Answers


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

Interview Candidate on 29/03/2013

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

ummm on 07/04/2013

Add Answers or Comments

To comment on this, Sign In or Sign Up.