• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

OOP1 attempt

 
Bartender
Posts: 3648
16
Android Mac OS X Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 3648
16
Android Mac OS X Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic