ArrayList vs ArrayDeque?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

ArrayList vs ArrayDeque??

in ArrayList when we add an object in front end. then every object shift towards right. But in ArrayDeque we we add an object in front end, memory expands toward left and no object shift towards right.. M i right??

14th Jan 2017, 5:33 AM
Somnath Ghosh
Somnath Ghosh - avatar
1 Answer