All pastes #9530 Raw Edit

finallyFoo

public java v1 · immutable
#9530 ·published 2005-04-14 13:40 UTC
rendered paste body
public class FinallyTester {  static int i =0;  public static String foo4x(String str){    System.out.println(str);    if((++i)==10000) System.exit(1);    try{      try{        return foo4x(".");      }catch(Exception e){        e.printStackTrace();      }finally{        return foo4x("_");      }    }finally{      return foo4x("*");    }  }  public static void main(String args[]){    String str = foo4x("?");  }}