File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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: 1042
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!