ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 106 - MB-500 discussion

Report
Export

You have an enumeration named truckStatus that has the following statuses:

Empty

Loaded

Completed

You have the following code:

You need to add the following statuses to the enumeration: Quarantine, InTransit

What should you do?

A.

Add a post handler to the method that checks the enumeration and logic for your new enumeration values using the enumeration value.

Answers
A.

Add a post handler to the method that checks the enumeration and logic for your new enumeration values using the enumeration value.

B.

Add a post handler to the method that checks the enumeration and logic for your new enumeration values using a range comparison for your new values.

Answers
B.

Add a post handler to the method that checks the enumeration and logic for your new enumeration values using a range comparison for your new values.

C.

Add a new case statement in the model of the existing code.

Answers
C.

Add a new case statement in the model of the existing code.

D.

Add a post handler to the method that checks the enumeration and logic for your new enumeration values using the integer value of the enumeration.

Answers
D.

Add a post handler to the method that checks the enumeration and logic for your new enumeration values using the integer value of the enumeration.

Suggested answer: A
asked 05/10/2024
Aurelio Chavez
48 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first