Question: For the Textbook object class from the previous question, override the Book toString method so that it returns a String of the format: author ;
For the Textbook object class from the previous question, override the Book toString method so that it returns a String of the format:
author ; title ; ISBN: ISBN ( yearPublished ); course ; required
where
1. author is the author instance variable's value,
2. title is the title instance variable's value,
3. ISBN is the ISBN instance variable's value,
4. yearPublished is the year instance variable's value,
5. course is the course for which the book has been assigned, and
6. required indicates whether the book is required (i.e., "not required" or "required")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
