会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
The Blog
Do not go gentle into that good night.
Old age should burn and rave at close of day.
Rage, rage against the dying light.
博客园
首页
新随笔
联系
订阅
管理
2024年12月30日
[2024.12.30 JavaSE学习]继承 && 多态 && 接口
摘要: 继承 语法: public class Son extends Parent { xxxxxxxxxxxxxx } 优先级分为以下四类: 1、public:子类会拥有父类全部的public方法和成员 2、protected:对于父类protected方法和成员,唯一与public不同的是:在不同的包
阅读全文
posted @ 2024-12-30 02:29 Luna-Evelyn
阅读(20)
评论(0)
推荐(0)
公告