摘要: package com.oop.exception;public class Test { public static void main(String[] args) { try { new Test().test(1,0); } catch (ArithmeticException e) { e 阅读全文
posted @ 2021-06-13 11:01 Leoyuan 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-06-13 09:58 Leoyuan 阅读(63) 评论(0) 推荐(0) 编辑
摘要: package com.oop;import com.oop.demo10.Outer;public class Application { public static void main(String[] args) { Outer outer = new Outer(); //通过外部类来实例化 阅读全文
posted @ 2021-06-13 09:28 Leoyuan 阅读(42) 评论(0) 推荐(0) 编辑