Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an enumeration named truckStatus that has the following statuses:
Empty
Loaded
Completed
You have the following code:
You need to extend this enumeration and add the following statuses to the enumeration: Quarantine, InTransit. You must then modify code that validates the switch statement.
Solution: Add a post handler to the method that checks the enumeration and logic for your new enumeration values using the enumeration value.
Does the solution meet the goal?
Carlee
2 months agoDawne
9 days agoHoa
10 days agoDell
11 days agoWinfred
14 days agoChauncey
16 days agoJuliana
17 days agoCarrol
18 days agoFlorinda
2 months agoMireya
3 months agoOzell
2 months agoGayla
2 months agoOmega
3 months agoJeniffer
3 months agoJutta
3 months agoElmira
3 months agoMitsue
3 months agoLauna
3 months agoMagda
1 months agoEun
1 months agoDorcas
1 months agoLilli
2 months agoLuisa
3 months agoTrinidad
3 months ago