Home > DeveloperSection > Interviews > What is the difference between List and Set?

Posted on    May-12-2015 1:36 AM

 Java Java  Collection 
 1 Answer(s)
  476  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Posted on    May-12-2015 1:36 AM

List can contain duplicate elements whereas Set contains only unique elements.
List are ordered whereas sets are not ordered

Modified On May-12-2015 01:39:59 AM

Don't want to miss updates? Please click the below button!

Follow MindStick