File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OOP1 attempt

 
K. Tsang
Bartender
Pie
Posts: 3228
12
Android Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Rory Lynch
Ranch Hand
Posts: 95
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
K. Tsang
Bartender
Pie
Posts: 3228
12
Android Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 95
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9059
12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic