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

What is the difference between array and arraylist?
what is the difference between arraylist and linkedlist?

Answer Posted / madhu sudana rao

first one:
array is fixed length,arraylist is growing array(means
they have no fixed length , if u add more the size
arraylist size incress and vise versa)
seond one:
if add and remove the elements in the middle takes more
time by using arrylist in that time use linkedlist
arrylist is good for retiveing the elements in specific
position
arraylist is faster than linkedlist for random accesing
of elemnets

Is This Answer Correct ?    20 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is token in java?

960


What is deserialization?

970


Why array is used in java?

909


Explain about assignment statement?

974


What is lambda in java?

980


Can a constructor be made final?

1050


Can we have a method name same as class name in java?

992


What do you mean by platform independence of Java?

1066


What is keyword and identifier?

1079


What is hashtable and explain features of hashtable?

942


What is the difference between hashmap and hashtable in java?

1048


What string is utf8?

924


Is intellij better than eclipse?

1023


What is a null point?

970


Explain the JDB in depth & command line.

959