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

if i know the lenght of collection in hand, should I use Array or Arraylist? justify

Answer Posted / guest

If lenght of collection is known Array is prefered to use
because Arraylist is resizable where as array has constant
size and array is more faster than ArrayList.

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is an isolation level?

2765


What are the diff types of exception?

1066


Is infobus easy to use?

1046


What is abstract schema?

1038


Why does the option tag render selected=selected instead of just selected?

1183


What is the relationship between an event-listener interface and an event-adapter class?

1136


What are various types of class loaders used by jvm?

1006


What is aop(assepct oriented programing)?

1072


If your ui seems to freeze periodically, what might be a likely reason?

1044


Name the class that is used to bind the server object with RMI Registry?

2171


How to pass parameters in RMI?

2269


Can I map more than one table in a cmp?

1092


What is the purpose of the notifyall() method?

1045


why static class in java

1783


What is difference between object state and behavior?

1109