nerdexam
Zend

200-710 · Question #139

Which of the following is NOT possible using reflection?

The correct answer is C. Adding class methods. See the full explanation below for the reasoning.

Object-Oriented Programming

Question

Which of the following is NOT possible using reflection?

Options

  • AAnalysing of nearly any aspect of classes and interfaces
  • BAnalysing of nearly any aspect of functions
  • CAdding class methods
  • DImplement dynamic construction (new with variable class name)

How the community answered

(33 responses)
  • A
    6% (2)
  • B
    6% (2)
  • C
    85% (28)
  • D
    3% (1)

Topics

#reflection#ReflectionClass#PHP reflection API#introspection

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice