super

2023.10.18

1.super有哪些作用

用来访问父类被隐藏的非私有成员变量

用来调用父类中被重写的方法

用来调用父类的构造函数

posted @ 2023-10-18 22:26  sellingpear  阅读(9)  评论(0)    收藏  举报