Shared Tutorials
Tutorials Shared by the Internet Community
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Basic Detail
What is different on List and Set in Java Collection
Main difference between Set and List is that Set does not allow any duplicates and only store unique objects while List allow duplicates. Another diffhttp://javarevisited.blogspot.com/2012/04/difference-between-list-and-set-in-java.html
Total Hits: 4781
Total Votes: 163 votes
Average Rating: 2.55 out of 5
Category: JAVA/Collections
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.Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 16.56% |
27 |
![]() ![]() |
![]() ![]() 15.95% |
26 |
![]() ![]() ![]() |
![]() ![]() 17.79% |
29 |
![]() ![]() ![]() ![]() |
![]() ![]() 15.95% |
26 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 17.79% |
29 |




16.56%

15.95%

17.79%

15.95%

17.79%