当前位置: 答题翼 > 问答 > 计算机类考试 > 正文
目录: 标题| 题干| 答案| 搜索| 相关
问题

classSynapse{2.protectedintgap(){return7;}3.}4.5.classCrebextendsSynapse{6.//insertcodehere7.}分别插入到第6行 哪三行可以编译?()


classSynapse{2.protectedintgap(){return7;}3.}4.5.classCrebextendsSynapse{6.//insertcodehere7.}分别插入到第6行,哪三行可以编译?()

A、intgap(){return7;}

B、publicintgap(){return7;}

C、privateintgap(intx){return7;}

D、protectedCrebgap(){returnthis;}

E、publicintgap(){returnInteger.getInteger("42");}

参考答案
您可能感兴趣的试题
  • One reason for people to showroom is that theyA.want to know more about pricing.B.can retu

  • Inexhaustible resources are those that cannot be reproduced. Once the point of no retu

  • 有以下方法的定义 请选择该方法的返回类型( )。 ReturnType method(byte x double y) { retu

  • 下面函数的功能是()sss(s t)char*s *t;{ while((*s)&&(*t)&&(*t++==*s++));retu

  • 下面函数的功能是()。sss(s t)char*s *t;{while((*s)&&(*t)&&(*t++==*s++));retu

  • 现有:1.classSynapse{2.protectedintgap(){return7;}3.}4.5.classCrebextendsSynapse{6.//insertcodehere7.}分别插入到第6行 哪三行可以编译?()