nerdexam
Microsoft

MB6-704 · Question #55

You are developing a Microsoft Dynamics AX 2012 class. When should you declare variables in a method?

The correct answer is B. Before the code. See the full explanation below for the reasoning.

Question

You are developing a Microsoft Dynamics AX 2012 class. When should you declare variables in a method?

Options

  • AAfter the code.
  • BBefore the code.
  • CInline before the variables are used.
  • DIt is not necessary to declare variables.

How the community answered

(33 responses)
  • A
    15% (5)
  • B
    73% (24)
  • C
    3% (1)
  • D
    9% (3)

Community Discussion

No community discussion yet for this question.

Full MB6-704 Practice