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

Please help. I’ll mark you as brainliest if correct!
Which options support the author’s choice of using a proposition-and-support structure to develop his argument? (Select all that apply.) Our Backyard Is 85 Mill
when Beginning of Industrialization in Russia
The population of a certain species of fish has a relative growth rate of 1.1% per year. It is estimated that the population in 2010 was 12 million. a. Find an
What is necessary for a ball to be in translational equilibrium?
3) Write the operation used to obtain the types of solutions. Sum: Difference: Product: Quotient:
The coefficient of x^ky^n-k in the expansion of (x+y)^n equals (nk). True or false.
ASAPPPPPP What are the zeros of this function? A. X4 and x 6 B. X-6 and x = 5 C. X-6 and xs-4 D. X 0 and x 4
Shalom, Guys! The Question is in the image down below! Love, Piper Rockelle
Make x the subject of the formula y = m x − c