Java Interview Question: What is the difference between set and list?
Set stores elements in an unordered way but does not contain duplicate elements, whereas list stores elements in an ordered way but may contain duplicate elements.
You can see the full list of Java Interview Questions Here
If you have any questions or comments please email me at john@johnathanmarksmith.com
Published
31 May 2013