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

how can u cal servlet from java?

7 Answers  


In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?

0 Answers  


difference between applicationserver and webserver

4 Answers   SolutionNET,


To identify IDL language what mapping mechanism is used?

0 Answers  


What are transaction attributes?

0 Answers  


Difference Between java & javax

5 Answers   Sun Microsystems, Wipro,


what is the use of Object Factories?

1 Answers  


What is a class loader? What are the different class loaders used by jvm?

0 Answers  


How to determine SGA site?

0 Answers   Wipro,


what is meant by JRMP?

0 Answers  


What are different types of layout managers in java.awt package?

3 Answers   Android, CA,


What are the different approaches to represent an inheritance hierarchy?

0 Answers  


Categories