Build a Library Management System
60 min · Medium
Need help? Ask a tutor on WhatsApp (opens in a new tab)A library tracks books, members and who has borrowed what, and every rule (copies, limits, fines) belongs to the class that knows the data.
What you will learn
What you will learn
- Split a real problem into small classes that each own one job
- Let one class coordinate others through composition
- Enforce business rules with a custom exception hierarchy
- Work with dates to compute due dates and late fines
Sign in to continue this lesson
Create an account to read every lesson, practise with the exercises and keep track of your progress.