可学答题网 > 问答 > OCJP(310-065)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Given: Which three methods


Given: Which three methods, inserted individually at line 14, will correctly complete class Two?()

  • Aint foo() { /* more code here */ }
  • Bvoid foo() { /* more code here */ }
  • Cpublic void foo() { /* more code here */ }
  • Dprivate void foo() { /* more code here */ }
  • Eprotected void foo() { /* more code here */ }
参考答案
参考解析:
分类:OCJP(310-065)题库