Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Difference between ArrayList and LinkedList

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 98
    Comment on it

    This is one of the important thinks that we need to know when we talk about Collections in Java.

    There are so many similarities in ArrayList and LinkedList like they implements List interface. They both come under non synchronized classes. Now we are talking about differences


    1. Dynamic array is used to store data internally in ArrayList but doubly linked list implements in LinkedList.

    2. ArrayList is slow in terms of manipulation of data But In case of LinkedList manipulation is faster. Bit shifting happens in case of ArrayList.

    3. If we want to store and then access the data the performance of ArrayList is better.

    4. ArrayList implements only List so can take only benefits of List, on the other hand LinkedList implements List and Deque so can take benefits of both.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: