nerdexam
Oracle

1Z0-851 · Question #196

Given: 10. interface Jumper { public void jump(); } ... 20. class Animal {} ... class Dog extends Animal { Tail tail; 32. } ... class Beagle extends Dog implements Jumper{ public void jump() {} }…

The correct answer is B. Cat is-a Jumper C. Dog is-a Animal F. Beagle has-a Tail. See the full explanation below for the reasoning.

Question

Given: 10. interface Jumper { public void jump(); } ... 20. class Animal {} ... class Dog extends Animal { Tail tail; 32. } ... class Beagle extends Dog implements Jumper{ public void jump() {} } ... class Cat implements Jumper{ public void jump() {} } Which three are true? (Choose three.)

Options

  • ACat is-a Animal
  • BCat is-a Jumper
  • CDog is-a Animal
  • DDog is-a Jumper
  • ECat has-a Animal
  • FBeagle has-a Tail
  • GBeagle has-a Jumper

How the community answered

(38 responses)
  • A
    11% (4)
  • B
    82% (31)
  • D
    5% (2)
  • G
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-851 Practice