多做题,通过考试没问题!

Java认证考试

睦霖题库>其他计算机考试>Java认证考试

Which two methods, inserted  individually, correctly complete the Three class?()

  • A、public void foo(){ }
  • B、public int foo(){return 3;}
  • C、public Two foo(){return this;}
  • D、public One foo(){return this;}
  • E、public Object foo(){return this;}
正确答案:C,D
答案解析:
进入题库查看解析

微信扫一扫手机做题