Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
constructor can throw the exception or not
Joined: Dec 10, 2007
Jan 10, 2008 06:30:00
i am a bit confuse.let me know asap
Joined: Oct 30, 2001
Jan 10, 2008 06:47:00
Not an advanced question.
Constructors can throw exceptions.
Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.
Joined: Oct 25, 2004
Jan 18, 2008 02:41:00
Yes Of course they can.
It is sorta covered in the
JavaRanch Style Guide
subject: constructor can throw the exception or not
Difference between throws and throw in Exception
clarification for constructor ?
Connecting to an Oracle 8i Database
single sun voucher @3000 INR in mumbai/india
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015