Trabajando con ArrayList
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
AGUSTIN LÓPEZ
Used 7+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Un ArrayList puede cambiar de tamaño automáticamente cuando se añaden o eliminan elementos.
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) ();
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
12 questions
Calidad y Atributos del Servicio
Quiz
•
9th - 12th Grade
12 questions
Tabele HTML
Quiz
•
9th Grade
13 questions
EXAMEN-2°AÑO-INFORMATICA P3-2021
Quiz
•
1st - 9th Grade
15 questions
HTML Quiz
Quiz
•
11th Grade - University
10 questions
python
Quiz
•
10th Grade
10 questions
paquetes contables lección 1
Quiz
•
11th Grade - Professi...
10 questions
DTJSQuiz
Quiz
•
11th Grade
16 questions
Microcontrolere Noțiuni generale. Structura internă
Quiz
•
KG - 12th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
