MB6-704 · Question #18
MB6-704 Question #18: Real Exam Question with Answer & Explanation
The correct answer is A. Embedded methods B. Variable declarations. A: You can declare local functions inside a method or a job in X++. A local function can contain code that would otherwise have to be duplicated in two or more places within your method. B: The following X++ job demonstrates that the print statement automatically converts any dat
Question
Options
- AEmbedded methods
- BVariable declarations
- CClass instantiations
- DEvents
Explanation
A: You can declare local functions inside a method or a job in X++. A local function can contain code that would otherwise have to be duplicated in two or more places within your method. B: The following X++ job demonstrates that the print statement automatically converts any data type to a string. To create a job in the AOT, right-click the Jobs node, and then click New Job. static void PrintJob2(Args _args) str s1 = "Hello"; utcDateTime udt3 = DateTimeUtil::utcNow(); Dialog dlog4 = new Dialog();
Community Discussion
No community discussion yet for this question.