2 Replies - 4218 Views - Last Post: 28 March 2007 - 10:33 AM Rate Topic: -----

#1 learle  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 27-March 07

class Book

Posted 27 March 2007 - 11:24 AM

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.

Is This A Good Question/Topic? 0
  • +

Replies To: class Book

#2 William_Wilson  Icon User is offline

  • lost in compilation
  • member icon

Reputation: 205
  • View blog
  • Posts: 4,807
  • Joined: 23-December 05

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.
Was This Post Helpful? 0
  • +
  • -

#3 spullen  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 10
  • View blog
  • Posts: 356
  • Joined: 22-March 07

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!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1