摘要: 6、现有代码: D public class Example { public static void main(String[] args) { try { System.out.print(Integer.parseInt("forty")); } catch (RuntimeException 阅读全文
posted @ 2020-08-06 21:41 大明湖畔的闰土 阅读(495) 评论(0) 推荐(0) 编辑
摘要: 10、以下代码的执行结果是? D public class Example { public static void main(String[] args) { Element[] a1 = new Element[1]; Element[][] a2 = new Element[2][1]; El 阅读全文
posted @ 2020-08-06 08:57 大明湖畔的闰土 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 29、下列代码能否正常运行,如果能够正常运行,输出结果是什么 D public class TestClass { public static void main(String[] args) { int num1=5; int num2=5; class InnerClass{ public in 阅读全文
posted @ 2020-08-06 00:30 大明湖畔的闰土 阅读(200) 评论(0) 推荐(0) 编辑