摘要: Super 与 this super注意点: super调用父类的构造方法,必须在构造方法的第一个 super 必须只能出现子类的方法或者构造方法中! super 和 this 不能同时调用构造方法! this: 代表的对象不同: this: 本身调用者这个对象 super: 代表父类对象的应用 前 阅读全文
posted @ 2021-05-06 20:36 小白yun 阅读(50) 评论(0) 推荐(0)