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 new case statement in the model of the existing code.
Does the solution meet the goal?
Marcos Jonás Almonte Pérez
3 years ago