LinkedList and ArrayList both implement List Interface but how they work internally is where the differences lies. Main difference between ArrayList and LinkedList is that ArrayList is implemented using re sizable array while LinkedList is implemented using doubly LinkedList. ArrayList is more popular among Java programmer than LinkedList as there are few scenarios on which LinkedList is a suitable collection than ArrayList. In this article we will see some differences between LinkedList and ArrayList and try to find out when and where to use LinkedList over ArrayList.
Read more »
Home » core java »
core java interview question
» Difference between LinkedList vs ArrayList in Java
Langganan:
Posting Komentar (Atom)
0 Response to "Difference between LinkedList vs ArrayList in Java"
Posting Komentar