Android问题:DescriptionResourcePathLocationType Cannot reduce the visibility of the inherited meth

来源:互联网 发布:spss mac 23 序列号 编辑:程序博客网 时间:2024/06/05 23:50

意思就是说,类型不能降低其可见性。

想了下,是这样:

如果一个父类的某个方法是protected的访问权限,那么其子类重写该方法的时候一定不能是private,必须为public。


0 0
原创粉丝点击