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

I will choose the brainliest answer!! Which element(s) is/are not balanced in this equation? MgO + 2 LiCl --> MgCl2 + Li2O •Mg •All elements are balanced
21 divided by $13.65
Percent decrease from 64 to 21 round to the nearest percent Thx :))
PLEASE HELP ME!! What is the correct formula for calcium fluoride? A. CaF2 B. CaF C. Ca2F D. Ca2F2
How could you increase the kinetic energy of a apple?
Which one is greater 0.9855 or 0.992?
How will four electrons be distributed in three empty 2p atomic orbitals? A-one electron in each orbital B-two electrons in one orbital, one in another, one in
Which word is the indefinite pronoun in this sentence? "If I want to wear a necklace, I'd better find or make myself another!" Hannah replied. A. another B.
Is microsoft's internet browser called internet explorer?
Identify the three types of Greek columns and describe one characteristics of each.