How To

This video explains how to design a library management system using a UML class diagram. Open the app Select “class diagram” from the dropdown. 00:00 Intro 00:30 Library Database class 01:21 Librarian class 01:52 Member class 02:30 Transaction class 03:09 Bill class 03:31 Book class 04:03 Author class 04:15 Relationships between classes 05:17 Summary Our library system will enable librarians to add, update, delete, and display information about the books. Let’s start off by creating our “Library Database” class. To create a class, just type the name of the class. Next, we want to give the class some attributes. To add attributes, hit return and then use the TAB key to indent the attribute. We need listOfBooks, add, update, display, search and delete. Some of these are methods. We indicate this by adding parentheses after the name. The next class is “Librarian”. Each librarian has a name and an ID. The methods the librarian uses are limited to issuing a book, returning a bo
Back to Top