nerdexam
OMG

UM0-300 · Question #123

What is true about a template class parameter that is constrained by class C? Actual parameters must be ___________.

The correct answer is D. classes that are subclasses of C. See the full explanation below for the reasoning.

Question

What is true about a template class parameter that is constrained by class C? Actual parameters must be ___________.

Options

  • Aclasses that are associated with class C
  • Bobjects of class C or of subclasses of C
  • Cobjects of class C
  • Dclasses that are subclasses of C

How the community answered

(27 responses)
  • A
    4% (1)
  • B
    7% (2)
  • C
    11% (3)
  • D
    78% (21)

Community Discussion

No community discussion yet for this question.

Full UM0-300 Practice