You should validate user entries rather than catch and handle exceptions caused by invalid entries whenever possible because

You should validate user entries rather than catch and handle exceptions caused by invalid entries whenever possible because


a. all of the above
b. data validation code should only be used for situations that are truly exceptional
c. your code will run faster
d. you can more accurately determine the cause of an invalid entry


Answer: c. your code will run faster


Learn More :