//Problem: //Java 8 // Declare your class here. Do not use the 'public' access modifier. // Declare the price instance variable class MyBook extends Book{ int price; /** * Class Constructor * * @param title The book's title. * @param author The book's author. * @param price The book's price. **/ // Write your constructor here MyBook(String title, String author, int price) { super(title, author); this.price = price; } /** * Method Name: display * * Print the title, author, and price in the specified format. **/ // Write your method here @Override void display(){ System.out.println("Title: "+title+"\nAuthor: "+author+"\nPrice: "+price); } } // End class