+ 1
What is the difference between ArrayList and LinkedList?
Data Structure
2 Respostas
+ 3
ArrayList is like vector in C++.
LinkedList is like list in C++.
+ 1
in Java ArrayList is like a table but you can put new object or value on the end of list. Getting to value or object by index is very fast, but putting new values is slow. LinkedList have very fast adding new values or object because every element of that list have link to the next and previus element.