• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu
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??

java
14th Jan 2017, 5:33 AM
Somnath Ghosh
Somnath Ghosh - avatar
1 Respuesta
+ 2
https://docs.oracle.com/javase/7/docs/api/java/util/ArrayDeque.html
23rd Mar 2017, 12:28 PM
T0nd3

¿Tienes a menudo preguntas como esta?

Aprende gratis de forma más eficaz

  • Introducción a Python

    7,1M de estudiantes

  • Introducción a Java

    4,7M de estudiantes

  • Introducción a C

    1,5M de estudiantes

  • Introducción a HTML

    7,5M de estudiantes

Ver todos los cursos
En tendencia hoy
Supervised learning, regression
2 Votes
I've Been Trying For an Hour
0 Votes
Programming languages that Sololearn offers
1 Votes
Comparing Numbers
0 Votes
𝗪𝗵𝗮𝘁 𝗱𝗼 𝘆𝗼𝘂 𝘁𝗵𝗶𝗻𝗸 𝗶𝘀 𝘁𝗵𝗲 𝗯𝗲𝘀𝘁 𝗮𝗻𝗱 𝗺𝗼𝘀𝘁 𝘃𝗮𝗹𝘂𝗮𝗯𝗹𝗲 𝗽𝗿𝗼𝗴𝗿𝗮𝗺𝗺𝗶𝗻𝗴 𝗹𝗮𝗻𝗴𝘂𝗮𝗴𝗲?
1 Votes
Counting specific letter in string
1 Votes
HOW TO CREATE A LINK WITHIN SOLO LEARN
1 Votes
is it worth it ?
0 Votes
Publishing
1 Votes
Still can't tell the reason why this code failed 1 test case
0 Votes