Question: Select a good strategy for handling input validation failures? A. Use the assert statement. B. Throw an Error. C. Log an error but allow the
Select a good strategy for handling input validation failures?
A. Use the assert statement.
B. Throw an Error.
C. Log an error but allow the user to continue.
D. Throw an Exception.
E. Shut down the computer.
F. None of the above.
Step by Step Solution
3.47 Rating (147 Votes )
There are 3 Steps involved in it
The best strategy for handling input validation failures from the options given is choice D Throw an Exception Heres why Input validation failures mea... View full answer
Get step-by-step solutions from verified subject matter experts
