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...

which is better arraylist or dictionary?

Answer Posted / lavanya

arraylist accepts any type of object. when we create an
arraylist it allows duplicate values.
in dictionary it maintains key and value which is specific
type (i.e, either its int or string or any datatype)
it will not allow duplicates.
so dictionary is better in some requirements.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What symbol specifies the beginning of a query string?

978


what are the web form events available in asp.net?

1087


What are the built-in objects in asp.net?

1039


Explain the Order of events in an asp.net page?

1062


Which adapter should you use, if you want to get the data from an access database?

1024


Explain the page lifecycle of an asp.net mvc? : asp.net mvc

929


Explain the difference between asp & asp.net.

1064


How to register exception filter globally?

1058


what is command line compiler.what are the steps and how it is related to debugging.

1962


To display data in a Repeater control which template you provide?

1086


Explain Session state management options in ASP.NET.

1137


Explain how does asp page work?

1066


What parameters can you pass in the url of the api?

1161


What is redirecting behavior?

1021


What are the differences between the response.write() and response.output.write()?

1063