判断题

//请写出程序的输出内容: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
知识点
面圈网VIP题库

面圈网VIP题库全新上线,海量真题题库资源。 90大类考试,超10万份考试真题开放下载啦

去下载看看