aspose file tools*
The moose likes Cattle Drive and the fly likes exercises difficult to understand Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "exercises difficult to understand" Watch "exercises difficult to understand" New topic
Author

exercises difficult to understand

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I am from S�o Paulo, excuse not to have spoken the city !

I am making the suitable exercises for you, in Menu: Cattle Drive / Topical: JavaRanch Cattle Drive - Classes and Objects

they are already 2:00 and I still didn't understand anything of the classes JDate and GDate, all the 2 classes have more than 300 lines of commands, doesn't give for me to understand. It is very complex and I still know a lot little of Java

for that reason I used the class import java.util.Date;

it is difficult to understand you ask! Look how it was the program that I tried to do

the next exercises are more difficult to understand and more complex
__________________________________________________
Edited by Dave to remove cattle drive code
[ March 28, 2002: Message edited by: Dave Vick ]
Pauline McNamara
Sheriff

Joined: Jan 19, 2001
Posts: 4012
    
    6
Hi Ronildo, welcome to JavaRanch.
So you'd like to do the Cattle Drive exercices to work on your Java programming skills? Excellent idea. There's a couple things you should look at first, though, it will save you some time and headaches.
To start: Please do NOT post code from the assignments!!! Your questions about the Cattle Drive should be posted in the Cattle Drive forum.
The Cattle Drive is best done in order, starting at the beginning and working your way through.
Regarding your specific question on assignment OOP-1, the specific goal is to learn how to use someone else's code. That means you have to use the com.javaranch.common package with GDate and JDate.
Have you read these links? They explain a lot about the Cattle Drive:
http://www.javaranch.com/cattledrive.jsp
http://www.javaranch.com/drive/about.jsp
You can do the Cattle Drive on your own, without sending in your assignments, but please don't post your code.
Best of luck learning Java!
Pauline
jason adam
Chicken Farmer ()
Ranch Hand

Joined: May 08, 2001
Posts: 1932
Pauline's excellent reply should help you get started.
One of the most important aspects of Java, and any Object-oriented language in general, is that of code reuse. When you use a String, the Date class, etc., you are learning to use other peoples' code. Just because the code is 300 lines long should not deter you from trying to learn it. You won't get far if you decide something is just too hard to try and give up!
However, take Pauline's advice and start from the beginning if you haven't already. Though you can do the assignments on your own, you won't benefit from the added service of having someone personally attend to helping you learn to write Java code. If you can't swing the $200, it's understandable, you can still post questions to this forum, and there are plenty of people that will help out.
However, never post code. The whole idea is to learn, and you don't learn by copying what someone else has done. Ask questions, look for answers, and you'll soon find yourself writing nice, clean Java applications.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: exercises difficult to understand