class
Test {
public void testRE() {
try {
throw new RuntimeException();
} catch(Exception e) {
System.out.println("caught exception");
}
}
}
RuntimeException is Throwable...then why compile error!!!
i get confused with try catch finally blocks when they are in a method and try to return something...is there any good reference that might help??
regards
Sajid