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)- A15% (5)
- B73% (24)
- C3% (1)
- D9% (3)
Community Discussion
No community discussion yet for this question.