ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 170 - MB-500 discussion

Report
Export

A developer submits code for a quality assurance review. Several lines of code use the var data type.

You need to validate the segments tor the correct X++structure.

Which code statement will pass validation?

A.

var var1 = systemDateGet (); var1 = var1 ? today(); ''No today'';

Answers
A.

var var1 = systemDateGet (); var1 = var1 ? today(); ''No today'';

B.

var var1 = true ? 10:''10''

Answers
B.

var var1 = true ? 10:''10''

C.

var var1 = true; var1 = true ? 10:falase;

Answers
C.

var var1 = true; var1 = true ? 10:falase;

D.

var var1 = (var1 >= false) ? true :10;

Answers
D.

var var1 = (var1 >= false) ? true :10;

Suggested answer: A
asked 05/10/2024
Jorge Diaz
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first