花费 5 ms
Cannot reduce the visibility of the inherited method from 编译错误

知识点: 1、子类重写父类方法时,不能使用比分类中被重写的方法更严格的访问权限,如父类中的方法是public时,子类的方法就不能是prvate。 2、因为接口定义的方法默认是public的,意思就 ...

Tue May 14 04:14:00 CST 2019 0 1665

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM