ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 160 - MB-500 discussion

Report
Export

A company uses Dynamics 365 Finance.

You ate performing a code review for several segments of code that use the Boolean data type.

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

Which two code statements will compile? Each correct answer presents a complete solution.

NOTE: Each coned selection a worth one point.

A.

boolean exprValue; exprvelue = (8*6 == 48) ? 1:0;

Answers
A.

boolean exprValue; exprvelue = (8*6 == 48) ? 1:0;

B.

boolean exprVelue - (8*6 -- '48') ? false:true;

Answers
B.

boolean exprVelue - (8*6 -- '48') ? false:true;

C.

boolean exprValue . (8*6 == '4') ? Yes:No;

Answers
C.

boolean exprValue . (8*6 == '4') ? Yes:No;

D.

boolean exprValue; exprValue • (8*6 == 48);

Answers
D.

boolean exprValue; exprValue • (8*6 == 48);

Suggested answer: A, D
asked 05/10/2024
Gajendran Balasingam
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first