hc学习平台

 找回密码
 立即注册
搜索
热搜: 活动 交友 javakc
 › 王朝 › 日志

下面中哪些选项可以在A的子类中使用  

2022-07-15 10:39:54 查看(12) 回复(0)

class  A{
    protected  int  method(int  a,int  b){
        return  0;
    }
}
A、public  int  method(int  a,int  b){return  0;}
B、private  int  method(int  a,int  b){return  0;}
C、private  int  method(int  a,long  b){return  0;}
D、public  short  method(int  a,int  b){return  0;}
AC

评论 (0 个评论)

facelist

全部作者的其他最新日志



站点统计|举报|Archiver|手机版|小黑屋|Comsenz Inc.

GMT+8, , Processed in 0.195171 second(s), 9 queries .

Powered by javakc! X1.0

© 2004-2014 javakc

f1208.com 备案号:京ICP备14030918号-1

返回顶部