What is different on List and Set in Java Collection
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 10649
Total Votes: 130 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...