Microsoft
MB-500 · Question #233
MB-500 Question #233: Real Exam Question with Answer & Explanation
Sign in or unlock MB-500 to reveal the answer and full explanation for question #233. The question stem and answer options stay visible for context.
Question
A company uses Dynamics 365 Finance. You are 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 correct selection is worth one point.
Options
- Aboolean exprValue; exprValue = (8*6 == 48);
- Bboolean exprValue = (8*6 == '48') ? Yes:No;
- Cboolean exprValue; exprValue = (8*6 == 48) ? 1:0;
- Dboolean exprValue = (8*6 == '48') ? false:true;
Unlock MB-500 to see the answer
You've previewed enough free MB-500 questions. Unlock MB-500 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.