Good way to handle exceptions in the code

Is it a good way to handle exceptions in the code?

E

Expert

Verified

Yes, we should handle exceptions in the code therefore we can deal with every unexpected situation which occurs when the program is running. Like, dividing the number by zero or passing the string value to the variable which holds the integer value and it would result in the exception.

   Related Questions in Software Engineering

©TutorsGlobe All rights reserved 2022-2023.