posted 22 years ago
Hi James,
Is it true that in an Initiallising Block,
If some of your code throws any kind of checked exception without applying try and catch can be handeled by applying "throws" clause in the constructor
If Yes Then How
for example
class A
{
A()throws InterruptedException{} //constructor
{ /// initialising block
throw new InterruptedException
}
}
Is The Above Code Ok