Grokking the Object Oriented Design Interview
Ask Author
Back to course home

0% completed

Vote For New Content
Balaji Srinivasan
Can you help implement BookReservation and BookLending?

Balaji Srinivasan

Sep 23, 2023

Thanks for the great article. Given that in a library management system, reserving and checking out the book is the core most functionality, can you help implement those functionalities? I am interested in the context of :

  1. How do we handle concurrency when two users tries to reserve the same book?
  2. Where do we maintain the number of BookItems that are available for a given book?
  3. What is the functionality of a lending book?

0

0

Comments
Comments

On this page

System Requirements

Use case diagram

Class diagram

Activity diagrams

Code