Question: reuploaded because the previous question I posted didn't get solved correctly I've included the error message received below. please help guys Hello, I need this

reuploaded because the previous question I posted didn't get solved correctly I've included the error message received below. please help guys

Hello, I need this question completed in Java and the code to be tested before submission because Ive had multiple errors. Ive also included photos referring to what mistakes Ive received. PS.this question is a little bit different than previous questions posted on the check, so the same answer would not work. Thank you for all your hard work.reuploaded because the previous question I posted didn't get solved correctly I'veincluded the error message received below. please help guys Hello, I needthis question completed in Java and the code to be tested beforesubmission because Ive had multiple errors. Ive also included photos referring towhat mistakes Ive received. PS.this question is a little bit different thanprevious questions posted on the check, so the same answer would not

Given main0 and a base Book class, define a derived class called Encyc lopedia with member methods to get and set private fields of the following types: - String to store the edition - int to store the number of pages With the cerived Encyc lopedia class, define a printinfo0 method that overrides the Book class' printinfo0) method by printing the title, author, publisher, publication date, edition, and number of pages. Ex. If the input is: The Hobbit J. R, R. Tolkien George Allen \& Unwin 21 September 1937 The Illustrated Encyclopedia of the Universe Ian Ridoath Watson-Guptill 2001 2nd 384 the output is: Book Information: Book Title: The Hobbit. Author: U. F. R. Tolkien Publisher: Gedrge Allen o Wowin Publication Date: 21 September 1937 Book Intormation: Book Title: The Illustrated Encyolopedia of the Jniverse Authar: Ian Ridpath Publisher: Datson-Guptill Publication Date: 2001 Edition: 2nd Number of Pages: 384 Note: Indentations use 3 spaces. File is marked as read only Current tie: Bookiniormation.java Current file: Encyclopedia.java Load default template... 1:Compare output Output is nearly correct, but whitespace differs. See highlights below. Special character legend The Hobbit J. R. R. Tolkien George Allen \& Unwin 21 September 1937 The Illustrated Encyclopedia of the Universe Ian Ridpath Watson-Guptill 2001 2nd 384 Book Information: Book Title: The Hobbit Author: J. R. R. Tolkien Publisher: George Allen \& Unwin Publication Date: 21 September 1937 Your output Book Information: Book Title: The Illustrated Encyclopedia of the Universe Author: Ian Ridpath Publisher: Watson-Guptill Publication Date: 2001 Edition: 2nd Number of Pages: 384 Book Information: Book Title: The Hobbit Author: J. R. R. Tolkien Publisher: George Allen \& Unwin Publication Date: 21 September 1937 Book Information: Book Title: The Illustrated Encyclopedia of the Universe Author: Ian Ridpath Publisher: Watson-Guptill Publication Date: 2001 Edition: 2nd Number of Pages: 384 Failed to compile

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!