0

What is the difference between Linkedlists and Arraylists?

25th Apr 2017, 1:15 PM
Green
4 Respostas
+ 3
linklist implement from arraylist.
25th Apr 2017, 1:18 PM
Nithiwat
Nithiwat - avatar
+ 3
arraylist implement form list class.
25th Apr 2017, 1:19 PM
Nithiwat
Nithiwat - avatar
0
arrays use memory in a sequence like the element at index 0 takes memory address 1011 next will use 1013 basing on memory size of type but the linked list will use the memory where it is available like eg one will take address 1017 and next can take 2045 we cannot predict it has some algorthim
14th May 2017, 2:47 PM
Mallarapu Pramod Kumar
Mallarapu Pramod Kumar - avatar