如果一个抽象类除了抽象方法外什么都没有,则使用( )更合适。
A.继承
B.构造方法
C.终极类
D.接口
正确答案是D
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/436992.html
上一篇:2013年8月1日,罗某到甲公司担任会计,约定试用期15天。9月1日甲公司向罗某支付工资,9月15日双方签订书面劳动合同。罗某与甲公司劳动合同关系成立的时间是( )。
下一篇:Correct the errors in the following sentence.My favorite teacher, a native of Australia, and who is also our tennis coach, is moving to another city next semester.