Please Using Java to solve
1 Books, Journals, and Newspapers
You should create an abstract class called LibraryItem, and thencreate three subclasses: Book, Journal, and Newspaper.
Books should have an author (recorded as a String with theirname). Books should have multiple chapters, each with a chapternumber, chapter title and some content text. Your Book objectsshould have an accessor method to get a chapter by its number as aString, and to get the entire book as a single String. It might benice if the entire Book string has the title, author, and chaptertitles in it and some sensible line breaks!
Journals have an overall journal
PayPal Gateway not configured
PayPal Gateway not configured