If you copy and paste the source for this exercise from the website,
it won't compile b/c the main class is:

public static void main(String[] args) {
         ...
        ...
}

However, the source from the downloaded zip file has the main class
with a throws exception command that is omitted from the online
source:

public static void main(String[] args) throws Exception{
             ...
            ...
}

Just a tip for anyone who can't get the source to compile like I
couldn't.

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to