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

1 Expert Approved Answer
Step: 1 Unlock

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

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Oracle Questions!