Build a Library Management System
75 min · Intermediate
Need help? Ask a tutor on WhatsApp (opens in a new tab)A library is a ready-made example of has-a relationships: a Library has Books and Members, and a Book knows which Member has it right now.
What you will learn
What you will learn
- Design a Java program from several classes that work together
- Use composition, aggregation and association with arrays of objects
- Delegate work from one class to another
- Store a rule in an enum with a field
- Report broken rules with a custom checked exception
Sign in to continue this lesson
Create an account to read every lesson, practise with the exercises and keep track of your progress.