Results 1 to 2 of 2
Like Tree1Likes
  • 1 Post By pbrockway2

Thread: CLASS BOOK HELP. Please.

  1. #1
    ITshard is offline Member
    Join Date
    Aug 2012
    Posts
    1
    Rep Power
    0

    Default CLASS BOOK HELP. Please.

    sorry for my english but im really so desperate. This is due next week monday, and i don't know what do to or even where to start. Our professor didn't explain this homework , she just gave us a photocopy problem, we dont have any reference to look at. soo i hope you guys can help me.

    HERE'S THE PROBLEM:

    a.) Some of characteristis of a book are the title, author(s), publisher, ISBN, price, and year of publication. Design the class book that defines the book as an ADT.

    Each object of the *class BOOK* can hold the following information about a book; title, up to four authors, publisher, ISBN, price, year of publication, and number of copies in stock. To keep track of the numbers of authors, add another instance variable.
    Include the methods to perform various operations on the objects of *Book*. For example, the usual operation that can be performed on the title are to show the title, set the title, and check whether operations a title is actual title of the book. Add similar operations for the publisher, ISBN, book price, and authors. Add the appropriate constructors.
    THANK YOU FOR HELPING ME!

  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,585
    Rep Power
    12

    Default Re: CLASS BOOK HELP. Please.

    Quote Originally Posted by NormR
    You need to post the code you are working on and ask specific questions about the problems you are having. If you are getting errors, please post the full text of the error messages.
    Sound familiar? It should.

    -----

    Seriously, people are happy to help you. But no-one is going to write the code for you, so you need to say what *your* problem is. For instance, do you know what an ADT is?

    In your other thread you say that you have no idea what classes and methods are. In that case you really should talk to your teacher, or other representatives of whatever institution is offering the course. Such understanding is required before you can even get started on this problem. Generally speaking the people offering courses have every reason to help you succeed and talking to them can only help.

    -----

    Also, if you are going to start a discussion in multiple forums, please post links in each to the others. It's just politeness, really, to let everyone who is part of a discussion know what else is being said.

    [Edit] And javaprogrammingforums.com
    Last edited by pbrockway2; 08-27-2012 at 09:08 AM.
    Fubarable likes this.

Similar Threads

  1. Grade Book class, please help
    By star12345645 in forum New To Java
    Replies: 5
    Last Post: 12-11-2011, 03:46 AM
  2. book
    By abedelraof in forum New To Java
    Replies: 4
    Last Post: 06-25-2011, 05:24 PM
  3. what book to buy ???
    By dhilipsiva in forum New To Java
    Replies: 8
    Last Post: 06-05-2011, 06:15 PM
  4. Is this book enough?
    By dushmantha.e in forum Java Certification
    Replies: 3
    Last Post: 04-06-2010, 04:13 AM
  5. best book for jsf
    By raj17 in forum JavaServer Faces (JSF)
    Replies: 8
    Last Post: 08-04-2009, 09:08 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •