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

Question number 5 please. I wrote it down if you can't see the whole question from the photos. 5. Figure 3.33 shows the Millau viaduct in south-western France.
1. What was Commodore Perry's initial mission? ​
How many outcomes are possible in this control structure? forever OA. Three OB. Four O c. One C. OD. Two if is A button pressed then set background image to
what is the equivalent ratio in the simplest terms for 16:8
2/3 divided by 1/2 On a grid
Select the two roots of (3x + 7)(2x – 5)=0 A)-7/3 B)5/2 C)-5/2 D)7/3
NEED HELP FOR 100 points and possible brainliest if the answer is legitimate. YOU BE THE TEACHER Your friend solves the system of linear equations below. Is yo
what is -(3a+2)-3(5a+7)
under condition does the addition of two simple harmonic motion produce a resultant which is also simple harmonic
True or false? Dispositionism refers to the view that our behavior and actions are determined by our immediate environment and surroundings.