To implement this functionality you need to introduce a Boolean property in the Loan class to indicate whether the loan is terminated and a property that will hold the date that the book was returned.
You have the flexibility to decide on how to complete the implementation of this functionality.
To implement this functionality you need to introduce a Boolean property in the Loan class to indicate whether the loan is terminated and a property that will hold the date that the book was returned.
You have the flexibility to decide on how to complete the implementation of this functionality.