Hello there. I'm making a class called LibraryRecord, which has 2 constractors. The first one "manages" 6 attributes of an object and they are the following: 1. The title of the book 2. The writer/author 3. The "ISBN"- a serial number. 4. The publisher 5. The year it was published 6. If it's still being published or not. The 1st constructor "accepts" all 6 variables and creates an object Library Record with them. The 2nd constructor only contains the first 5 elements stating the book is still being released. In the program I should include get-methods for every element(all 6 elements), also I should include a set-method with a flag that shows if it's being released or not. And I should do an appropriate use of the method toString. Lastly,I need to make a simple program to test it out.
I get 2 errors when i try to compile the Main Program.
The answer to the question is available in the PDF file https://assignmentexpert.com/https://assignmentexpert.com/homework-answers/programming-answer-57082.pdf
Comments
Leave a comment