Question: Need help writing a program in java! 3. Design a Book class which has the following data fields: . title (String) author (String) category (String)
Need help writing a program in java!

3. Design a Book class which has the following data fields: . title (String) author (String) category (String) price (double) isbn (int) (use integer number to represent isbn. isbn is a unique id of a book) Define the following methods in the class: (1) Constructor: use input arguments to initialize title, author, category and price. Define a method to generate a new unique isbn and assign it to a newly generated book, (2) A group of getter/setter methods to access all data fields. isbn can't not be changed. CSE 148 Spring 2020, SCCC 2 (3) A static method "getNextISBN()" which will be invoked to generate a unique isbn
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
