Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Java in General and the fly likes java problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "java problem" Watch "java problem" New topic

java problem

Morgan mor

Joined: Nov 03, 2004
Posts: 11
Ryan McGuire
Ranch Hand

Joined: Feb 18, 2005
Posts: 1046
Originally posted by Morgan mor:

my.buildRect(?, ?);//WHAT DO I WRITE HERE???

Parse the String command line arguments into ints and then use those ints as args for the constructors for two new Points.

If I gave you all the exact method names, it would be too easy.


P.S. Don't forget to catch the NumberFormatException.
I agree. Here's the link:
subject: java problem
It's not a secret anymore!