0
What is the point of exceptions?
What is it used for? Why would you type in error in your own code?
2 Respostas
+ 1
It’s to handle errors. Most common example is if you try to open a file that does not exist. The computer will cause an error, but exceptions will take care of it, letting you exit the program “gracefully”.
0
Thank you. They should have interpret this example in the lesson..