以下关于使用静态方法的描述不正确的是( )。
A.静态方法能被重写
B.在这个类的后代类中,不能有相同名称
C.在这个类的后代类中,不能有参数列表的方法
D.一个静态方法只能使用其内部定义的参数或静态变量
正确答案是A
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/436935.html
上一篇:Paragraph One Children who are older by a wider gap tend to teach their younger siblings social and manual skills, almost like a third parent, while rivalry is usually greatest when the age difference is small. It is especially so when siblings are u
下一篇:下列各项中,应计入营业外支出的有()