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

a US company has filed my H1B visa ,, and i got selected in random number process.I wanna ask Could they ask regarding my languages(java,c++) or there will b just general questions?? And wat kind of questions will they ask in embassy interview??

2 Answers  


What is preemptive and Non-preemptive Time Scheduling?

6 Answers   Cognizant,


life cycle of an applet?

3 Answers  


To make an object to begin executing as a separate thread, what method is used?

2 Answers  


the use of try and ffinally keyword

1 Answers  


In a multitiered application which tier is the browser in?

10 Answers   Adobe,


How messaging services are done, before release of JMS?

0 Answers  


What is TL and its use?

0 Answers  


What is the difference between system.out ,system.err and system.in?

0 Answers  


Can I have an action without a form?

0 Answers  


What are the different methods of identifying an object?

0 Answers  


What is a modular application?

0 Answers  


Categories