只返回一个try吧。因为system.exit(0) 系统就退出程序执行了

解决方案 »

  1.   

    不好意思,问你一下,你用的是 Borland JBuilder  6.0,还是JBuilder 4.0 编译器呀
      

  2.   

    情况1:try
    情况2:finally原因:System.exit()
    This method calls the exit method in class Runtime. This method never returns normally. 
    The call System.exit(n) is effectively equivalent to the call: 
    Runtime.getRuntime().exit(n) 
      

  3.   

    楼上说的有道理啊!
    System.exit(0)强制将程序完成退出,所以以后的程序就不能执行了!
    如果放了return表示结束一个方法或返回值(如果没有具体值,一般认为返回void)
    但是包含在finally里的程序是一定会执行的如果程序没有退出!