Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
What method is used to sort a list in Java?
Think about order and arrangement.
How do you reverse a list?
Consider the impact on the current order.
What does Collections.shuffle() do?
Think about randomization in data.
True or False: Collections.reverse() can be used on any type of collection.
Remember what types of collections the method applies to.
Implement a Java program that sorts an array of integers, reverses it, and finds the maximum value.
Use Collections methods effectively in your program.
Write a method to create and return an unmodifiable list from a mutable list of strings.
Think about how to restrict modifications to the list.
6 more questions in this section. Enroll free to practise them all.
Enroll free