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



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

Answer / 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

More Advanced Java Interview Questions

Give me simple example of hibernate caching and explain the details of caching????? thanks in adv.

1 Answers  


Are enterprise beans allowed to use thread.sleep()?

0 Answers  


whats is mean by jndi

4 Answers   SolutionNET,


whats is mean by filter?

1 Answers   SolutionNET,


How to get an image from db2 database plz help as soon as possible

1 Answers  


What is the difference between the session.get() method and the session.load() method?

0 Answers  


What exceptions are thrown by RMI?

1 Answers  


What is ioc concept & explain it?

0 Answers  


Explain phantom read?

0 Answers  


What is RRL?

1 Answers  


What is a sessionfactory? Is it a thread-safe object?

0 Answers  


what are the activation groupworks?

0 Answers  


Categories