Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

help with this assignment in java ======================== multithreading implementation ======================== please implement all in java code and comment the code: Problem definition Design a trivial

help with this assignment in java

image text in transcribed

========================

multithreading implementation

========================

image text in transcribed

please implement all in java code and comment the code:

Problem definition Design a trivial library database management system based on binary search trees. Your project must show the following menu: 1. 2. 3. 4. 5. 6. 7. 8. Add a genre Add a book Modify a book. List all genre List all book by genre List all book for a particular genre Search for a book Exit . To add a genre, your program must read the genre title (ie. Action, Comedy, Thriller, etc) . To add a book, your program must read the following: Title, genre, plot, authors, publisher and release year. For the book's genre the program must show a list with all genres in the database and the user shall select a genre from the list. For each author your program must read the last and first name. . To modify a book, your program must read the title, show all information about the book, ask if the user really want to modify it, and for an affirmative answer, must read the new information. . When listing all genres, your program must show them in an alphabetical order. When listing all books by genre, your program must print the genre title and all books for that genre in an alphabetical order by title. For each book, your program must show the title, release year and publisher. . When listing all books for a particular genre, your program must read the genre and show a list with all books for the selected genre with the title, release year and publisher. . For searching a book, your program must read the title and show all information about the book, the authors must be alphabetically sorted by last name. Problem definition Design a trivial library database management system based on binary search trees. Your project must show the following menu: 1. 2. 3. 4. 5. 6. 7. 8. Add a genre Add a book Modify a book. List all genre List all book by genre List all book for a particular genre Search for a book Exit . To add a genre, your program must read the genre title (ie. Action, Comedy, Thriller, etc) . To add a book, your program must read the following: Title, genre, plot, authors, publisher and release year. For the book's genre the program must show a list with all genres in the database and the user shall select a genre from the list. For each author your program must read the last and first name. . To modify a book, your program must read the title, show all information about the book, ask if the user really want to modify it, and for an affirmative answer, must read the new information. . When listing all genres, your program must show them in an alphabetical order. When listing all books by genre, your program must print the genre title and all books for that genre in an alphabetical order by title. For each book, your program must show the title, release year and publisher. . When listing all books for a particular genre, your program must read the genre and show a list with all books for the selected genre with the title, release year and publisher. . For searching a book, your program must read the title and show all information about the book, the authors must be alphabetically sorted by last name

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Shamkant B. Navathe

7th Edition Global Edition

1292097612, 978-1292097619

More Books

Students also viewed these Databases questions

Question

help streamline their operations and cut costs....

Answered: 1 week ago

Question

What is management growth? What are its factors

Answered: 1 week ago