ArrayList vs LinkedList | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 2

ArrayList vs LinkedList

I've been recently working on a txt to midi player and I had to rework my code in Java Lists. I used arraylist everywhere (trough List interface) but got some kind of error, something with immutability so i tried linkedlist and it worked. The question is, which one do you use in which situations ? I'm kinda just confused about these and I would love to know someone's elses experience with them :D Thanks for answering.

6th Oct 2017, 11:57 PM
Plasmoxy
Plasmoxy - avatar
0 Respuestas