接口中可以有 static 方法吗?static 代码快吗? static 代码能被继承吗?能被重写吗?

答:静态方法能被继承,但是不能被重写。

 

posted @ 2021-05-24 14:25  xie风细雨  阅读(248)  评论(0)    收藏  举报