File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Cattle Drive and the fly likes Assignment 6 of Cattle Drive Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Assignment 6 of Cattle Drive" Watch "Assignment 6 of Cattle Drive" New topic

Assignment 6 of Cattle Drive

krishna bk

Joined: Aug 30, 2010
Posts: 2
I have a doubt with Assignment 6. I am not able to get the total number of the grains due to the long output.
Based on the example, I believe I should be using Walrus instead of Penguin. Could you tell me a clue if this going the right way?
I am also not sure what is : "The search for this class is the real meat of this assignment!"...
Could you kindly guide me here or provide me a clue?

Appreciate your help.

Carol Murphy
village idiot

Joined: Mar 15, 2001
Posts: 1202
Learning your way around the API is important. Use the clue given to find a class that will provide a good solution to this assignment. It's as simple and as complicated as that.
When you find this class, you will not need a Walrus or a Penguin!
(I changed the names so as to not give any clues to other drivers who are working on this assignment)
The class you need to find will most likely be in a package dealing with arithmetic!
(Go figure!)
krishna bk

Joined: Aug 30, 2010
Posts: 2
Hi Carol,

Thanks for the hint.
I was trying to help fellow members who are trying, and I did post a PM to one of the forum members, as I didn't want to disclose it....It will ruin their fun in trying to work it out. and I was told to post it in the forum....But well, thanks a lot for changing it.
I managed to figure it out.
Thanks a lot for the prompt response.

I agree. Here's the link:
subject: Assignment 6 of Cattle Drive
jQuery in Action, 3rd edition