ArrayList vs ArrayDeque?? | Sololearn: Learn to code for FREE!

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??

1/14/2017 5:33:07 AM

Somnath Ghosh

1 Answer

New Answer

+2

https://docs.oracle.com/javase/7/docs/api/java/util/ArrayDeque.html