Microsoft
MB6-704 · Question #21
You are developing a solution to get a date as an input to perform an operation. The input will be in a variable named inputDate. You need to validate the date and throw an error if the date entered…
Sign in or unlock MB6-704 to reveal the answer and full explanation for question #21. The question stem and answer options stay visible for context.
Develop X++ code
Question
You are developing a solution to get a date as an input to perform an operation. The input will be in a variable named inputDate. You need to validate the date and throw an error if the date entered is null or greater than the current system date. Which X++ statement should you use? Exhibit A Exhibit B Exhibit C Exhibit D
Exhibits
Options
- AExhibit A
- BExhibit B
- CExhibit C
- DExhibit D
Unlock MB6-704 to see the answer
You've previewed enough free MB6-704 questions. Unlock MB6-704 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#date validation#null check#X++ statements#exception throwing


