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

Oracle认证考试

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

Given: 10. interface Jumper { public void jump(); } ...   20. class Animal {} ...   30. class Dog extends Animal {   31. Tail tail;   32. }   ...   40. class Beagle extends Dog implements Jumper{   41. public void jump() {}  42. }   ...   50. class Cat implements Jumper{   51. public void jump() {}   52. }. Which three are true?()

  • A、 Cat is-a Jumper
  • B、 Cat is-a Animal
  • C、 Dog is-a Jumper
  • D、 Dog is-a Animal
  • E、 Beagle has-a Jumper
  • F、 Cat has-a Animal
  • G、 Beagle has-a Tail
正确答案:A,D,G
答案解析:
进入题库查看解析

微信扫一扫手机做题