Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What is the advantage of using ArrayList over a linked list?
Consider how data is stored in an array.
Why should you avoid premature synchronization on collections?
Think about what synchronization does.
Which collection is more suitable for frequent read operations?
Consider read versus write frequencies.
True or False: Synchronizing collections always improves their performance.
Think about when synchronization might be beneficial.
Implement a Java program that uses both HashMap and TreeMap. Compare their performance with different data sets.
Focus on different loads and types of data.
Design a generic class that manages a collection of items, including methods for adding and retrieving items with wildcards and demonstrate its use.
Make sure to implement wildcards correctly.
5 more questions in this section. Enroll free to practise them all.
Enroll free