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

help I hate math i have no clue what I'm do
Do the worksheet please. First one to answer gets brainly
Which are text features of functional workplace documents? Select four responses. A subheading color and shading a heading an image a roman numeral list a bulle
How many times does 31 fit into 258.
Do you prefer hot weather or cold weather? why? please write 3 sentences of more.​
1 Jason is pulling a box across the room. He is pulling with a force of 29 newtons and his arm is making a 37 angle with the horizontal, what is the vertical co
giving brainliest help thx
What is the value of the function at x = 3? Enter your answer in the box.
Michael took 12 tests in his math class
In the diary entry from Saturday, June 20, 1942, in Anne Frank: The Diary of a Young Girl, Anne writes that "paper is more patient than man." Which sentence bes