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

OOP1 attempt

K. Tsang
Bartender

Joined: Sep 13, 2007
Posts: 2419
    
    7

Hi all, I have tackled OOP1 (DaysOld). My approach didn't use the javaranch jar - just java.util.Calendar, 1 instance of java.util.Date and 1 instance of java.text.DateFormat. Without using the jar, I had 9 methods!

On to the next one


K. Tsang JavaRanch SCJP5 SCJD/OCM-JD OCPJP7 OCPWCD5
Rory Lynch
Ranch Hand

Joined: Aug 03, 2007
Posts: 95
Hi K

Have you sucesfully tackled all the assignments in the Java section?

Please do not give hints about how you are completing the assignments, I prefer to figure things out myself, without any clues. Except the carefully worded guidance from the Cattledrive nitpickers.


I wish that for just one time, you could stand inside my shoes.<br />You'd know what a drag it is to see you.
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9046
    
  10
Lots of people do the assignments and never send them to us. There is certainly value in that. You will make a program that works! Our role as nitpickers is to help you understand what makes a program readable. We also throw in tips about optimization and style.

What if you try it with the jr.jar and see whether you can create a much smaller, simpler and more readable version.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
K. Tsang
Bartender

Joined: Sep 13, 2007
Posts: 2419
    
    7

Originally posted by Rory Lynch:

Have you sucesfully tackled all the assignments in the Java section?

Please do not give hints about how you are completing the assignments


Hi Rory,
Yes in fact I have tackled all basic assignments. And for OOP1, I'm not actually giving hints but just to let people know that it's possible to do the assignment without using the jar file.
Rory Lynch
Ranch Hand

Joined: Aug 03, 2007
Posts: 95
Hi K

Thanks for replying, I am about to submit the last assignment in the java Fundamentals section, namely geekWatch, so I am almost at the same stage that you are currently working on.

It seems to me that stating which classes you have used could be considered a tip.

I'll post here once I have done OOP1 and tell you how I get on
[ October 08, 2007: Message edited by: Rory Lynch ]
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9046
    
  10
The main purpose of the OOP-1 assignment is Purpose: To learn how to use someone else's classes, how to integrate a jar file into your program. So it looks like you did not learn the lesson the assignment was intended to teach.
 
 
subject: OOP1 attempt