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)- A14% (6)
- B79% (33)
- C5% (2)
- D2% (1)
Community Discussion
No community discussion yet for this question.