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 return type of the main method?

983


What is matcher in java?

932


Are strings immutable in java?

919


what do you mean by stream pipelining in java 8? Explain

972


Can java object be locked down for exclusive use by a given thread?

948


Is java platform independent?

922


Are arrays static in java?

1005


What is a constructor, constructor overloading in java?

959


How to change the priority of thread or how to set priority of thread?

979


What is private public protected in java?

987


Can you override static methods?

898


What is the difference between variable declaration and variable initialization?

978


What is externalizable interface?

1054


What do you mean by hashing?

1047


What happens if a constructor is declared private?

968