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

PRO: Why do the French Like Nuclear Power? Nuclear Power in France French Nuclear Energy - World Nuclear Association (world-nuclear.org) 1. What country is the
What part of speech is the underlined word in the following sentence from paragraph 1?
Describe two areas in which there is some debate over whether speech can be regulated.
Hey guys, could anyone help me out with this? Just fill in the blanks ^^​
ANSWER FOR BRAINLEST (BEST TO EXPLAIN WILL GET IT)
Upload your design theory project.
Can someone plzz help me on this question????
PLEASE HELP (Which table could be used to graph y=-2x?)
The process in which an organism exchanges gases with its environment is known as O respiration O precipitation O transpiration O evaporation
PLZGenerally speaking, the artists and writers of the Lost Generation were highly praised fortheir insightfulness and astute social commentary. How can we recon