nerdexam
Microsoft

MB6-869 · Question #29

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

(42 responses)
  • A
    14% (6)
  • B
    79% (33)
  • C
    5% (2)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full MB6-869 Practice