fork(8) download
  1. class Test {
  2.  
  3. public static int test(int i)
  4. {
  5. try
  6. {
  7. throw new Exception();
  8. }
  9. finally
  10. {
  11. return 2;
  12. }
  13. }
  14.  
  15. public static void main(String[] args) {
  16. System.out.println(test(0));
  17. }
  18. }
Success #stdin #stdout 0.08s 380160KB
stdin
Standard input is empty
stdout
2