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. data validation code should only be used for situations that are truly exceptional
b. all of the above
c. you can more accurately determine the cause of an invalid entry
d. your code will run faster


Answer: d. your code will run faster


Learn More :