摘要: 权限控制表 修饰词本类同一个包的类继承类其他类 private √ × × × 无(默认) √ √ × × protected √ √ √ × public √ √ √ √ super和this在类的方法中进行使用,举例: public class Demo01 { protected int nu 阅读全文
posted @ 2020-12-22 15:50 飒飒阿萨德 阅读(98) 评论(0) 推荐(0)