I need help?
Design and implement a class called Book that contains instance data for the title, author, publisher, and copyright date. Define the Book constructor to accept and inititalize this data. Include setter and getter methods for all instance data. Include a toString method that returns a formatted, multi-line description of the book. Create a driver class called Bookshelf, whose main method instantiates and updates several Book objects.
class Book
Page 1 of 12 Replies - 3624 Views - Last Post: 28 March 2007 - 10:33 AM
Replies To: class Book
#2
Re: class Book
Posted 27 March 2007 - 11:48 AM
that is not a help question that is a "do it for me".
This site has a strict no cheating policy, you must supply some sort of good faith code to show you have made an attempt and we will be happy to help you sort out errors, uknowns and logic problems. Please read the rules, links available in my signature.
This site has a strict no cheating policy, you must supply some sort of good faith code to show you have made an attempt and we will be happy to help you sort out errors, uknowns and logic problems. Please read the rules, links available in my signature.
#3
Re: class Book
Posted 28 March 2007 - 10:33 AM
Seems like you already know how to do it from the description you have given. Shouldn't be too hard, think!
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|