nerdexam
OMG

OMG-OCUP-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
  • Dclasses that are subclasses of C

How the community answered

(25 responses)
  • A
    4% (1)
  • B
    12% (3)
  • D
    84% (21)

Community Discussion

No community discussion yet for this question.

Full OMG-OCUP-300 Practice