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

difference between arraylist and linkedlist otherthan
performance

Answer Posted / db

In array list if we perform insertion or deletion operation, then there is many changes in the remaining objects to get adjust. if any operation like insertion or deletion is performed on linked lists there is only updation links between the nodes. so if there is lots of insertions and deletions better to go with linked lists rather than array list.

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a switch statement and an if statement?

1080


Why we use methods in java?

981


What is a hashmap used for?

1236


What is difference between throw and throws ?

1127


What is the difference between a break statement and a continue statement?

1022


What is immutable data?

1042


Is vector synchronized in java?

984


What is the use of a copy constructor?

982


Is set thread safe java?

915


What is use of super keyword in java?

1011


What is string [] args?

999


What is jvm? How its run?

1073


What do you mean by scope of variable?

883


What is use of functional interface in java 8? Explain

1012


Where is singleton pattern used?

989