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 the difference between set and list?

Answer Posted / vinod varma

set is an interface which doesnot allows the duplicate values
where as list is also an interface which allows the
duplicate values and we may not guarantee the order of
elements in set
but we can get the elements from list according to their
indexes. we may not insert the elements into set at the
specific index, but possible in list.

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we pass a primitive type by reference in java? How

854


What is the meaning of nullable?

968


How do you generate random numbers in java?

955


What is a void method?

874


What is the meaning of variables in research?

974


What is the covariant return type?

1021


explain different ways of using thread? : Java thread

955


What does a boolean method return?

1138


What are abstract classes and anonymous classes?

1023


Why chararray() is preferred over string to store the password?

956


What is a locale?

1093


Are variables stored in ram?

952


What is tree node in java?

915


What do u mean by variable?

990


how are methods defined?

994