子类不能对父类的private成员有访问权限,不能引用父类的private成员变量,也不能直接调用父类的private成员方法。

时间:2022-11-16 13:25:32

相似题目