Question: A class called Book, It contains: (15 Marks) Five instance variables: bookName (String), gender(int.. must be O:for male, iifor female), author (String), price (double), and

A class called Book, It contains: (15 Marks) Five instance variables: bookName (String), gender(int.. must be O:for male, iifor female), author (String), price (double), and qty (int) A constructor that creates object with the specified Name, author, price, gender and qty. One method to display all information of book. Design the Book class. Also write a program in java to read information of n books in the IT collage library then: 1. Print all the books names that it is not available are yet in library. 2. Print all the name of books which the author is female and it price greater than 100$. 3. Print information of book that has more copies in library
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
