cfancfan4125 cfancfan4125
  • 03-07-2019
  • Computers and Technology
contestada

The ArrayList class ____ method removes an item from an ArrayList at a specified location.

a.
erase

b.
remove

c.
delete

d.
get

Respuesta :

PhantomWisdom PhantomWisdom
  • 12-07-2019

Answer:

remove

Explanation:

The function used to remove the element in the ArrayList at specific index is remove.

Syntax:

remove(int index)

it used index to remove the element.

ArrayList index start from the index zero. So, if the we enter the index 0 it means remove the element at first position.

for example:

array.remove(1);  it remove the element at index 1 from the ArrayList name array.

Answer Link

Otras preguntas

A newly independent adult wants to increase the amount of money they have in their savings account. What should they consider? A) using a retirement match B) p
How do you calculate rise over run
The following diagram shows a greeting card with length and width are 4x – 3cm and (2x + 3) cm respectively. Given that the area of the greeting card is 315 cm²
if the voltage of a circuit increases the temperature will_________
1.2 Describe how external factors influence their own work role earning​
Find the factors of f(x), given that x = −2 is a zero. f(x) = x3 + x2 − 14x − 24
show me the solving of 4 tan theta =5/8 find cos theta and sin theta 0°​
how long will it take for my dad to come back
Qué declaracion mejor describe un historiador?
What's the theme for henri de Toulouse-lautec at the moulin rouge, the dance?.