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 difference between object state and behavior?

1090


What is meant by method chaining?

1140


What is in-memory replication?

1054


Explain about local interfaces.

1053


What class is the top of the awt event hierarchy?

1110


Can you control when passivation occurs?

1059


What is the highest-level event class of the event-delegation model?

1091


Can I have an action without a form?

1101


What is an abstract method?

1055


Is infobus easy to use?

1033


In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?

1168


What is the form of storage space in java?

2241


What restrictions are placed on the values of each case of a switch statement?

1007


What is table mutation and how do you avoid it?

2459


What are the benefits of detached objects?

1047