Un ArrayList puede cambiar de tamaño automáticamente cuando se añaden o eliminan elementos.
Trabajando con ArrayList

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
AGUSTIN LÓPEZ
Used 2+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Verdadero
Falso
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
¿Cuál es el resultado de la operación get(2) en un ArrayList que contiene los elementos [1, 2, 3, 4]?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué método se utiliza para añadir un elemento al final de un ArrayList?
insert()
add()
append()
push()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué método se utiliza para eliminar un elemento específico de un ArrayList?
discard(index)
delete(index)
erase(index)
remove(index)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué ocurre cuando se intenta acceder a un índice que está fuera de los límites de un ArrayList?
Retorna null
Retorna el último elemento
Lanza una IndexOutOfBoundsException
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
¿Qué método se utiliza para comprobar si un ArrayList está vacío?
isEmpty()
empty()
size() == 0
hasNoElements()
7.
DRAG AND DROP QUESTION
1 min • 1 pt
(a) <String> lista = (b) ArrayList (c) ();
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Javascript

Quiz
•
10th - 12th Grade
15 questions
Unit 8 - Searching and Sorting

Quiz
•
9th - 12th Grade
15 questions
IF and Vlookup Function

Quiz
•
9th - 10th Grade
10 questions
Array

Quiz
•
10th Grade
6 questions
Topic 6.1 Video 2

Quiz
•
11th Grade
10 questions
Symbol Puzzle Recap

Quiz
•
12th Grade
11 questions
Python strings

Quiz
•
8th - 9th Grade
11 questions
List of References

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade