exam questions

Exam 70-483 All Questions

View all questions & answers for the 70-483 exam

Exam 70-483 topic 1 question 94 discussion

Actual exam question from Microsoft's 70-483
Question #: 94
Topic #: 1
[All 70-483 Questions]

You are developing an application that uses several objects. The application includes the following code segment. (Line numbers are included for reference only.)

You need to evaluate whether an object is null.
Which code segment should you insert at line 03?

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
Use the == operator to compare values and in this case also use the null literal.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
supersunny
Highly Voted 5 years, 10 months ago
D is the answer.
upvoted 11 times
...
Xzibit23
Most Recent 4 years, 11 months ago
A ist the same code, so that would work as well
upvoted 2 times
Jannie
4 years, 11 months ago
A won't compile...because it's missing the second "="
upvoted 4 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...