![]() In programming, the devil is in the details, so without more requirements and context, this is impossible to answer. It contains behaviors like blockMember(), addBookItem() etc. Librarian: Librarian acts as admin to manage library.It will contain data like totalCheckedOutBooks, totalFineDue etc. Member: A member is identified as person who can issue/return books.Account: It contains properties like Account Id, Account status (Closed/Open/Cancelled) etc. ![]() ![]() Person: This class is to model basic data for a person like Address, Name, Email etc.Adding more information around how I am modelling Person, Account, Member and Librarian: I'm working on the class diagram for library management system and need help in defining the relationships between the following classes - person, member, librarian and account.īut, when I referred to other solutions available on internet and famous interview preparing courses, it is modelled as follows:Ĭan you please help with what advantage does the second one gives over first? What should be the correct way to go forward? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |