fork(10) download
  1. class Ideone
  2. {
  3. public static int num() {
  4. try {
  5. throw new RuntimeException();
  6. } finally {
  7. return 42;
  8. }
  9. }
  10. public static void main (String[] args)
  11. {
  12. System.out.println(num());
  13. }
  14. }
Success #stdin #stdout 0.1s 320256KB
stdin
Standard input is empty
stdout
42