nerdexam
OMG

OMG-OCUP-100 · Question #8

Refer to the exhibit. Given that class A realizes interfaces X and Y, and that class B realizes interface Y and uses interface Z, what operations must class A support?

The correct answer is A. union of the operations in interfaces X and Y. See the full explanation below for the reasoning.

Question

Refer to the exhibit. Given that class A realizes interfaces X and Y, and that class B realizes interface Y and uses interface Z, what operations must class A support?

Exhibit

OMG-OCUP-100 question #8 exhibit

Options

  • Aunion of the operations in interfaces X and Y
  • Bunion of the operations in interfaces X, Y, and Z
  • Cintersection of the operations in interfaces X and Y
  • Dintersection of the operations in interfaces X, Y, and Z
  • Enot required to support any operations specified by the interfaces shown

How the community answered

(26 responses)
  • A
    73% (19)
  • B
    15% (4)
  • C
    4% (1)
  • D
    8% (2)

Community Discussion

No community discussion yet for this question.

Full OMG-OCUP-100 Practice