Question: You are going to design a bookstore system in JAVA. In this application you need to create 2 classes that are Book and Store. Please

 You are going to design a bookstore system in JAVA. In

You are going to design a bookstore system in JAVA. In this application you need to create 2 classes that are Book and Store. Please check the class diagrams and follow the details of the classes, Book - ID: int -name: String -price: double -count: double + Book 1) + Book (name: String) + Book (name: String, price: double, count: double) -getters and setters of all attributes + displayinfo(): void In this class, you need to define ID, name, price, and the count of the book. Please generate a random number between 1000 and 5000 for the ID, while creating the book. Please write getters and setters of each attribute/field of the book. DisplayInfo function displays all the details of the book Store -name: String + listOfBooks: ArrayList

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!