Question: please send the correct answer within 1 hr an upvote will be given Create a Book class with private instance variables for Book ID, Title,

please send the correct answer within 1 hr an upvote will be given
Create a Book class with private instance variables for Book ID, Title, Author, and Price. Add appropriate accessor methods for these variables. Then create a subclass Novel with instances variables for the Category and Publisher. Also, include appropriate A constructors for your classes. Create a class with main() method to instantiate an array of FIVE Novels. Initialize the array during creation and display all the Novel's Titles published by 'Pearson' Publishers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
