What is different on List and Set in Java Collection
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 13889
Total Votes: 140 votes
Submitted on: 2012-08-25 08:30:25
Submitted By: Javin Paul
Description:Main difference between Set and List is that Set does not allow any duplicates and only store unique objects while List allow duplicates. Another difference between Set and List is that Set does not maintain any order while List maintains order on which object is added into List. More detail...