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

Swimmers ear is a fungal infection that occurs where ?
help pls! ☆*: .。. .。. :*☆
ASAP PLS HELP ANSWER CORRECT WILL GIVE BRAINLY
Weissman Corporation manufactures two products: Product E16S and Product P17K. The company is considering implementing an activity-based costing (ABC) system th
help pleaseAccording to the video, what part did technology play in the Cuban Missile Crisis? It allowed the US to take down Soviet air bases in Cuba. It made i
Which function of the circulatory system is necessary for the respiratory system to complete gas exchanges in the body?
Here is a balanced hanger. Write an equation representing this hanger. Find the weight of each circle. Show or explain how you found it.
What is the solution to 5x - 15 = -25 ?
What has happened to India’s natural forests between 2000 and 2019? Explain.
ranjita said to me ,I can't come with you'.(into indirect speech)​