0
Who explain me exceptions?
2 odpowiedzi
+ 5
In simple words they are made in order to help you manage your code. For example when you want the user to enter an integer but he enters string instead it will not close the program but will raise an exception and will ask for an input again. When where you don't have exceptions in your code just try to do some maths with strings-you can't and it will raise an error and program will be closed and you will see beautiful red error message. Exceptions avoid that problem.
0
thank you!!!