//请写出程序的输出内容:public class Test { p...
发布于 2022-03-03 16:21:18
//请写出程序的输出内容:
public class Test { public static Integer divide(int i) throws Exception { Integer result = null try{ result = 9/i System.out.print("A") } catch(Exception ex) { System.out.print("B") throw new Exception("C") } finally { System.out.print("D") } return result } public static void main(String [] args) { try{ System.out.print(divide(0)) System.out.print("E") } catch(Exception ex) { System.out.print("F") } System.out.print("G") } }()
关注者
0
被浏览
7