当子类( )父类方法时,子类与父类使用的是相同的方法名及参数列表,但可以执行不同的功能。
A.重写
B.继承
C.重载
D.替换
正确答案是A
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/437002.html
上一篇:【阅读选择】Many researchers,whose work depends on ocean sounds object to a limit of one-hundred-twenty decibels(分贝). They say such a limit is a greater danger than they believed. They want to prevent noises from harming creatures in the ocean. According t
下一篇:下列新闻作品中,通过三个小人物的命运,深刻揭露资本主义社会现实的是