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

Author Question: Which of the following are true? (Read 24 times)

fbq8i

  • Hero Member
  • *****
  • Posts: 527

Question 1

Which of the following methods are in java.util.List?
◦ remove(int index)
◦ set(int index, E element)
◦ get(int index)
◦ subList(int fromIndex, int toIndex)
◦ add(int index, E element)

Question 2

Which of the following are true?
◦ You can insert an element anywhere is an arraylist.
◦ You can use a linked list to improve efficiency for adding and removing elements at the beginning of a list.
◦ You should use an array list if your application does not require adding and removing elements at the beginning of a list.
◦ You can insert an element anywhere is a linked list.


Related Topics

Need homework help now?

Ask unlimited questions for free

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

komodo7

  • Sr. Member
  • ****
  • Posts: 322
Reply #1 on: May 6, 2020
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 39% of students answer this correctly




fbq8i

  • Member
  • Posts: 527
Reply 2 on: May 6, 2020
Great answer, keep it coming :)


anyusername12131

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

 

Did you know?

The first oncogene was discovered in 1970 and was termed SRC (pronounced "SARK").

Did you know?

Always store hazardous household chemicals in their original containers out of reach of children. These include bleach, paint, strippers and products containing turpentine, garden chemicals, oven cleaners, fondue fuels, nail polish, and nail polish remover.

Did you know?

Elderly adults are at greatest risk of stroke and myocardial infarction and have the most to gain from prophylaxis. Patients ages 60 to 80 years with blood pressures above 160/90 mm Hg should benefit from antihypertensive treatment.

Did you know?

Not getting enough sleep can greatly weaken the immune system. Lack of sleep makes you more likely to catch a cold, or more difficult to fight off an infection.

Did you know?

According to animal studies, the typical American diet is damaging to the liver and may result in allergies, low energy, digestive problems, and a lack of ability to detoxify harmful substances.

For a complete list of videos, visit our video library