C
Crouchez
kaldrenon said:are you sure? whether code throws an exception/error/throwable or not it
will still get to //do something in both scenarios. With
StackOverflowError
or OutofMemoryError then the program often stops completely.
public class Test
{
public static void main(String[] args)
{
try
{
return;
}
catch(Exception e){}
finally
{
System.out.println("testing");
}
}
}
Output:
"testing"
yeah i only figured that after i did a test