java programm
Extracted text: StoryBook String category StoryBook( ) StoryBook(String isbn, String bookTitle, String authorName, double price, int availableQuantity, String category) void setCategory(String category) String getCategory(O. TextBook int standard TextBook( ) TextBook(String isbn, String bookTitle, String authorName, double price, int availableQuantity, int standard) void setStandard(int standard) int getStandard( ) Start The start class contains the main method. Inside the main method, create two objects of StoryBook and two objects of TextBook. Demonstrate all the methods and constructors.Extracted text: Lab Task - 5: Developing a basic Java program with Inheritance. Look at the following class diagram and class notations carefully, and develop the program. StoryBook Вook TextBook Class Diagram Вook String isbn String bookTitle String authorName double price int availableQuantity Book( ) Book(String isbn, String bookTitle, String authorName, double price, int availableQuantity) void setlsbn(String isbn) void setBookTitle(String bookTitle) void setAuthorName(String authorName) void setPrice(double price) void setAvaiableQuantity(int availableQuantity) String getlsbn( ) String getBookTitle() String getAuthorName( ) double getPrice( ) int getAvailableQuantiry( ) void addQuantity(int amount) void sellQuantity(int amount) void showDetails( )
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here