2022年11月24日

继承中的构造方法和thissuper关键字

摘要: 继承中:构造方法的访问特点 代码实现 为成员进行赋值 总结 this、super使用总结 this super 关键字 用this访问构造 使用场景 要给数据做默认值时使用 练习 员工类 package yuangong; public class yuangong { private String 阅读全文

posted @ 2022-11-24 22:15 allu的弟弟阿喂 阅读(27) 评论(0) 推荐(0)

导航