sherin,
The answer c is correct 'cause the
main is empty! There is no call to method() so, there is no try, no catch and no finally
Hope that cleared your doubt.
Shubhangi.
Originally posted by sheri:
class Unchecked1{
[B}
public static void main(String[]args){
}
[/B]
void method(){
try{
metod1();
System.out.println("Testar metod1");
}
catch (ArithmeticException ae) {
System.out.println("F�ngar ArithmeticException");
}
finally{
System.out.println("K�r finally");
}
System.out.println("I method() utanf�r finally");
}
void metod1(){
throw new NullPointerException();
}
}