Library System with Collections
90 min · Intermediate
Need help? Ask a tutor on WhatsApp (opens in a new tab)A real library needs more than one list: find any book or member by id, know who holds each book, and keep a fair waiting line for popular titles. Each of those jobs has its own collection, and choosing the right one for each job is the whole design.
What you will learn
What you will learn
- Design a Java program where several collections work together
- Look up books and members by id with maps
- Keep a first-come, first-served waiting list per book with a Map of Queues
- Print sorted reports with Comparator chains
- Publish a Java collections capstone project on GitHub
Sign in to continue this lesson
Create an account to read every lesson, practise with the exercises and keep track of your progress.