This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Cattle Drive and the fly likes Clarification on OOP-4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Clarification on OOP-4" Watch "Clarification on OOP-4" New topic
Author

Clarification on OOP-4

jason adam
Chicken Farmer ()
Ranch Hand

Joined: May 08, 2001
Posts: 1932
I just wanted to make sure I have the requirements right for OOP-4. What I read is that:
Someone enters a serial number at the console, and it returns information about the item.
I have two questions:
A) Do we show a list of serial numbers, or just a prompt asking for a serial number and assume that the "user" will know serial numbers to put in?
B) How much detail are we needing for each item? For example, books should show author, publisher, length of tape, date published?
Thanks!
Jason
Richard Boren
Ranch Hand

Joined: Mar 01, 2001
Posts: 233
Originally posted by jason adam:

A) Do we show a list of serial numbers, or just a prompt asking for a serial number and assume that the "user" will know serial numbers to put in?

Just prompt for the serial number.

B) How much detail are we needing for each item? For example, books should show author, publisher, length of tape, date published?

You can make up whatever you want, I used title, author, quantity and price.
Hope this helps.


[This message has been edited by Richard Boren (edited July 25, 2001).]
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
usage: java Lookup aSerialNumber
prints out a description of the item which can include whatever you feel describes the item (within reason).

JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
jason adam
Chicken Farmer ()
Ranch Hand

Joined: May 08, 2001
Posts: 1932
Just curious, if we add something to our code before we get the first nitpick back, should we send in the entire code again, just the stuff we added (in this case, a try/catch block in the main method), or wait until we get a response?
Thanks!
Jason
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
You can send it in again with a note in the subject line
**New Version** (or something similar) to flag me so I don't waste time looking at the other one.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Clarification on OOP-4
 
Similar Threads
Retaining DB values as well as Dynamically generated Values.. Help Needed !
Question on OOP-4 Requirements
how to make dynamic combo box
Counting identical items in DB
Random