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

Java认证考试

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

10. class Foo {  11. static void alpha() { /* more code here */ }  12. void beta() { /* more code here */ }  13. }  Which two are true?()

  • A、 Foo.beta() is a valid invocation of beta().
  • B、 Foo.alpha() is a valid invocation of alpha().
  • C、 Method beta() can directly call method alpha().
  • D、 Method alpha() can directly call method beta().
正确答案:B,C
答案解析:
进入题库查看解析

微信扫一扫手机做题