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

Author Question: You can use the methods in the Collections class to ________. (Read 49 times)

skymedlock

  • Hero Member
  • *****
  • Posts: 561

Question 1

Which of the following is correct to sort the elements in a list lst?
◦ Arrays.sort(lst)
◦ Collections.sort(lst)
◦ new LinkedList(new String[]{"red", "green", "blue"})
◦ lst.sort()

Question 2

You can use the methods in the Collections class to ________.
◦ shuffle a collection
◦ find the maximum object in a collection using a Comparator object
◦ find the maximum object in a collection based on the compareTo method
◦ sort a collection
◦ do a binary search on a collection


Related Topics

Need homework help now?

Ask unlimited questions for free

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

kardosa007

  • Sr. Member
  • ****
  • Posts: 300
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 55% of students answer this correctly




skymedlock

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


tkempin

  • Member
  • Posts: 332
Reply 3 on: Yesterday
Wow, this really help

 

Did you know?

The U.S. Preventive Services Task Force recommends that all women age 65 years of age or older should be screened with bone densitometry.

Did you know?

Autoimmune diseases occur when the immune system destroys its own healthy tissues. When this occurs, white blood cells cannot distinguish between pathogens and normal cells.

Did you know?

About 600,000 particles of skin are shed every hour by each human. If you live to age 70 years, you have shed 105 pounds of dead skin.

Did you know?

In women, pharmacodynamic differences include increased sensitivity to (and increased effectiveness of) beta-blockers, opioids, selective serotonin reuptake inhibitors, and typical antipsychotics.

Did you know?

Drug-induced pharmacodynamic effects manifested in older adults include drug-induced renal toxicity, which can be a major factor when these adults are experiencing other kidney problems.

For a complete list of videos, visit our video library