Interview Question

Senior Software Developer Interview Detroit, MI

What is the difference between a Set and a List?

Answer

Interview Answer

2 Answers

0

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

Interview Candidate on Mar 29, 2013
0

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

ummm on Apr 7, 2013

Add Answers or Comments

To comment on this question, Sign In with Facebook or Sign Up