Microsoft
MB6-704 · Question #79
You have the following X++ statement: You need to identity the output of the statement. What should you identify?
The correct answer is B. An error has occurred. When an exception is thrown, it is first processed through the catch list of the innermost try block. The line error("VariableB cannot be less than variableA."); will never be reached.
Develop X++ code
Question
You have the following X++ statement:
You need to identity the output of the statement. What should you identify?
Exhibit
Options
- AAn error has occurred.
- BAn error has occurred.
- CAn error has occurred.
- DVariable B cannot be less than variable A.
How the community answered
(31 responses)- A3% (1)
- B81% (25)
- C6% (2)
- D10% (3)
Explanation
When an exception is thrown, it is first processed through the catch list of the innermost try block. The line error("VariableB cannot be less than variableA."); will never be reached.
Topics
#exception handling#X++ output#error messages#control flow
Community Discussion
No community discussion yet for this question.
