nerdexam
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

MB6-704 question #79 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)
  • A
    3% (1)
  • B
    81% (25)
  • C
    6% (2)
  • D
    10% (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.

Full MB6-704 Practice