题目详情
单选题 将下列(A,B,C,D)哪个代码替换下列程序中的【代码】不会导致编译错误. interface Com { int M = 200; int f(); } class ImpCom implements Com { 【代码】 }
A. public int f(){return 100+M;}
B. int f(){return 100;}
C. public double f(){return 2.6;}
D. public abstract int f()

学科:默认课程
时间:2026-04-29 13:43:18
相关题目
相关作业
