nerdexam
Salesforce

PDII · Question #122

Which of the following annotations is the right way to invoke a single apex method?

The correct answer is A. @InvokableMethod(). See the full explanation below for the reasoning.

Question

Which of the following annotations is the right way to invoke a single apex method?

Options

  • A@InvokableMethod()
  • B@InvokableAction()
  • C@InvokableApex()

How the community answered

(27 responses)
  • A
    78% (21)
  • B
    7% (2)
  • C
    15% (4)

Community Discussion

No community discussion yet for this question.

Full PDII Practice