Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Java Mastery
·
Module 4
Java Collections and Generics
1
ArrayList vs. LinkedList: Performance Trade-offs
Use ArrayList and LinkedList for ordered data, and explain their performance trade-offs.
2
HashSet vs. TreeSet: Storing Unique Elements and Ordering
Use HashSet and TreeSet to store unique elements, and explain their ordering differences.
HashMap vs. TreeMap: Storing and Ordering Key-Value Pairs
Use HashMap and TreeMap to store key-value pairs, and explain their ordering differences.
4
Iterating with Iterator and Enhanced For-Each
Iterate over collections using the Iterator interface and the enhanced for-each loop.
Sorting with Comparable and Comparator
Sort custom objects in a collection using the Comparable and Comparator interfaces.
Generics: Type-Safe Data Structures
Define generic classes and methods to create type-safe data structures.
Mastering Bounded Wildcards for Flexible Generics
Apply bounded wildcards (? extends, ? super) to write flexible methods for generic collections.
Previous module
Exception Handling and I/O Streams
Next module
Functional Programming with Lambdas and Streams