Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is difference between set and list in collection?

Answer Posted / chris

Set does not permit duplicate elements, List does. Also, Set
does not guarantee any iteration order, whereas List does.

Is This Answer Correct ?    17 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you sort arraylist in descending order?

1002


What is rule of accessibility in java?

1006


What do you understand by classes in java?

989


What is byte code and why is it important to java’s use for internet programming?

1106


List down the methods and interfaces of collection class in java.

973


What is hash in java?

943


Is char a data type in java?

954


How many decimal digits is 64 bit?

913


What is %d in printf?

1030


What is the purpose of skeleton and stub?

1210


What does exp mean in math?

976


How to sort a collection of custom Objects in Java?

1036


What is the role of garbage collector in java?

949


What is the difference between hashset and treeset in java?

1044


Can we write any code after throw statement?

1039