A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Can the main() method throw Exceptions ?
Joined: Apr 08, 2001
Apr 12, 2001 04:09:00
Can the main() method throw any exceptions ?
In general, is there any restriction on static methods for throwing Exceptions ?
Joined: Nov 06, 2000
Apr 12, 2001 05:42:00
Yes, main can throw exceptions and can be declared to throw exceptions.
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
I agree. Here's the link:
subject: Can the main() method throw Exceptions ?
Reg. main method
K&B Chapter 5 Self-test Question #8
exam lab practice exam -1, question24 need justification?
Can Constructors throw Exceptions??
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015