Question: That's a question in Java language. Please show me Picture for the output. Create 2 classes called Bookinfo, andBookTest BookInfo Class includes 4 pieces of

That's a question in Java language. Please show me Picture for the output.
Create 2 classes called Bookinfo, andBookTest BookInfo Class includes 4 pieces of information as instance variables: ISBN (int) bookTitle (String) bookPrice (double) bookQuantity (int) Provide a set and get methods for: ISBN, bookQuantity and bookPrice Develop two constructors to instantiate objects with 4 arguments, or without arguments - use the constructor chaining- Default values: ISBN (100) bookTitle ("No title") bookPrice (0) bookQuantity (0) A discount can be granted if the quantity is above 20, or if the price is more than BD 80. Add two overloading methods, one will check the quantity: if quantity is between 20 and 50, a discount of 5% will be granted, if the quantity is more than 50, a discount of 10% will be granted. And the other method will check the price: if the price is more than BD 80, a discount of 10% will be given. ONLY one discount can be used; choose the higher discount (You might need a separate method to do this) m Add a toString() method to display all information, in addition to discounted amount. BookTest class instantiates two objects from Bookinfo. The first object invokes the no-argument constructor. The second object has 4 arguments. The values of these arguments should be entered by the user. You should display all the details by calling the appropriate methods
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
