阅读下面的程序,分析代码是否能编译通过,如果能编译通过,选正确。如果不能编译通过,选错误。public class Test01 { public static void main(String[] args) { try { int x = 2 / 0; System.out.println(x); } catch (Exception e) { System.out.println("进入catch代码块"); } finally { System.out.println("进入finally代码块"); } }}
发布时间:2024-05-19 10:39:19