Write a Java code to create a menu of a library class by containing following bookinformation:1) Book accession number. 2) Name of the author of the book.3) Book title.4) Flag (Whether book is issued or not)In Menu, following functions must be defined.(i)Display book information(ii)Add a new book(iii)Display all the books in the library of a particular author(iv)Display the number of available books of a particular title(v)Issue a bookNote: If we issue a book, then its number gets decreased by 1 and if we add a book, its number getsincreased by 1. Use array of objects to store the information of the books and choose the datatypescorrectly. Perform all the functionality using Functions and creating objects main method.

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter13: Handling Events
Section: Chapter Questions
Problem 3RQ
icon
Related questions
Question

Write a Java code to create a menu of a library class by containing following book
information:
1) Book accession number.

2) Name of the author of the book.
3) Book title.
4) Flag (Whether book is issued or not)
In Menu, following functions must be defined.
(i)Display book information
(ii)Add a new book
(iii)Display all the books in the library of a particular author
(iv)Display the number of available books of a particular title
(v)Issue a book
Note: If we issue a book, then its number gets decreased by 1 and if we add a book, its number gets
increased by 1. Use array of objects to store the information of the books and choose the datatypes
correctly. Perform all the functionality using Functions and creating objects main method.

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
ADT and Class
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT