The main goal of this project is to develop a simple library system. The program should be
Question:
The main goal of this project is to develop a simple library system. The program should be able to add books and students, assign books to students, and print all necessary information
Requirements Structural requirements Fields of Book.java class:
- title: String
- author: String
- isbn: String
- year: int
- quantity: int
Fields of Student.java class:
- id: int - name: String
- surname: String
- group: String
- borrowedBooks: ArrayList
Fields of Library.java class:
- books: ArrayList
- students: ArrayList
note: - private; + public; #protected; or default if not shown any
Functional Requirements
− User should be able to add a new book
− User should be able to add a new student
− User should be able to assign a certain book to a certain student
− User should be able to remove a certain book from a certain student
− Program should print information about all books and students in Library
− Program should print all books that's currently assigned to a certain student