nerdexam
National_Instruments

200-500 · Question #159

What is the name of the method that can be used to provide read access to virtual properties in a class?

The correct answer is B. __get(). See the full explanation below for the reasoning.

Question

What is the name of the method that can be used to provide read access to virtual properties in a class?

Options

  • A__call()
  • B__get()
  • C__set()
  • D__wakeup()
  • E__fetch()

How the community answered

(63 responses)
  • A
    2% (1)
  • B
    71% (45)
  • C
    8% (5)
  • D
    3% (2)
  • E
    16% (10)

Community Discussion

No community discussion yet for this question.

Full 200-500 Practice