why is this instance initializer correct ?? and compile fine??
Code: Select all
{
try {
throw new Exception();
} catch (RuntimeException e){
}
}
Moderator: admin
Code: Select all
{
try {
throw new Exception();
} catch (RuntimeException e){
}
}
Code: Select all
{
throw new Exception();
}
constructor() throws Exception{
}
Code: Select all
{
if(true) throw new Exception();
}
constructor() throws Exception{
}
Users browsing this forum: No registered users and 8 guests