This topic contains a solution. Click here to go to the answer

Author Question: Invoking ________ removes all elements in an ArrayList x. (Read 79 times)

TFauchery

  • Hero Member
  • *****
  • Posts: 500

Question 1

You can create an ArrayList using ________.
◦ new ArrayList[100]
◦ new ArrayList[]
◦ ArrayList()
◦ new ArrayList()

Question 2

Invoking ________ removes all elements in an ArrayList x.
◦ x.remove()
◦ x.empty()
◦ x.clean()
◦ x.clear()
◦ x.delete()


Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by TFauchery on May 6, 2020

fraziera112

  • Sr. Member
  • ****
  • Posts: 356
Lorsum iprem. Lorsus sur ipci. Lorsem sur iprem. Lorsum sur ipdi, lorsem sur ipci. Lorsum sur iprium, valum sur ipci et, vala sur ipci. Lorsem sur ipci, lorsa sur iprem. Valus sur ipdi. Lorsus sur iprium nunc, valem sur iprium. Valem sur ipdi. Lorsa sur iprium. Lorsum sur iprium. Valem sur ipdi. Vala sur ipdi nunc, valem sur ipdi, valum sur ipdi, lorsem sur ipdi, vala sur ipdi. Valem sur iprem nunc, lorsa sur iprium. Valum sur ipdi et, lorsus sur ipci. Valem sur iprem. Valem sur ipci. Lorsa sur iprium. Lorsem sur ipci, valus sur iprem. Lorsem sur iprem nunc, valus sur iprium.
Answer Preview
Only 56% of students answer this correctly




TFauchery

  • Member
  • Posts: 500
Reply 2 on: May 6, 2020
Excellent


brbarasa

  • Member
  • Posts: 308
Reply 3 on: Yesterday
YES! Correct, THANKS for helping me on my review

 

Did you know?

On average, the stomach produces 2 L of hydrochloric acid per day.

Did you know?

Children of people with alcoholism are more inclined to drink alcohol or use hard drugs. In fact, they are 400 times more likely to use hard drugs than those who do not have a family history of alcohol addiction.

Did you know?

Though methadone is often used to treat dependency on other opioids, the drug itself can be abused. Crushing or snorting methadone can achieve the opiate "rush" desired by addicts. Improper use such as these can lead to a dangerous dependency on methadone. This drug now accounts for nearly one-third of opioid-related deaths.

Did you know?

Between 1999 and 2012, American adults with high total cholesterol decreased from 18.3% to 12.9%

Did you know?

A recent study has found that following a diet rich in berries may slow down the aging process of the brain. This diet apparently helps to keep dopamine levels much higher than are seen in normal individuals who do not eat berries as a regular part of their diet as they enter their later years.

For a complete list of videos, visit our video library