nerdexam
Oracle

1Z0-815 · Question #13

Given: Why does D cause a compilation error?

The correct answer is D. D does not define any method. See the full explanation below for the reasoning.

Question

Given:

Why does D cause a compilation error?

Exhibit

1Z0-815 question #13 exhibit

Options

  • AD inherits a() only from C.
  • BD inherits a() from B and C but the return types are incompatible.
  • CD extends more than one interface.
  • DD does not define any method.

How the community answered

(25 responses)
  • A
    16% (4)
  • B
    8% (2)
  • C
    4% (1)
  • D
    72% (18)

Community Discussion

No community discussion yet for this question.

Full 1Z0-815 Practice