会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Welcome, NewComer
through287
博客园
首页
联系
管理
2024年7月25日
Java面向对象进阶杂记
摘要: 子类能继承父类中哪些内容 方法重写注意事项 继承调用 this:就近调用 super:直接调用父类 构造方法 //父类Animal public class Animal { String name; int age; public Animal() { } public Animal(String
阅读全文
posted @ 2024-07-25 16:12 Through287
阅读(17)
评论(0)
推荐(0)
公告