nerdexam
Oracle

1Z0-850 · Question #21

Given: 17. class B { } Which demonstrates inheritance?

The correct answer is A. class A extends B { }. See the full explanation below for the reasoning.

Question

Given: 17. class B { } Which demonstrates inheritance?

Options

  • Aclass A extends B { }
  • Bclass A this B { }
  • Cclass A super B { }
  • Dclass A implements B { }

How the community answered

(14 responses)
  • A
    79% (11)
  • C
    7% (1)
  • D
    14% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-850 Practice