Results 1 to 2 of 2
- 08-27-2012, 05:58 AM #1Member
- Join Date
- Aug 2012
- Rep Power
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!
- 08-27-2012, 08:56 AM #2Moderator
- Join Date
- Feb 2009
- New Zealand
- Rep Power
Re: CLASS BOOK HELP. Please.Originally Posted by NormR
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.
- By star12345645 in forum New To JavaReplies: 5Last Post: 12-11-2011, 03:46 AM
- By abedelraof in forum New To JavaReplies: 4Last Post: 06-25-2011, 05:24 PM
- By dhilipsiva in forum New To JavaReplies: 8Last Post: 06-05-2011, 06:15 PM
- By dushmantha.e in forum Java CertificationReplies: 3Last Post: 04-06-2010, 04:13 AM
- By raj17 in forum JavaServer Faces (JSF)Replies: 8Last Post: 08-04-2009, 09:08 AM