4.1.1.9 Exception handling Flashcards
1
Q
What is exception handling?
A
The process of responding to exceptions during the program which interrupt the normal flow of the program.
2
Q
What is a syntax error?
A
The code produces an error because it doesn’t follow the rules of the language
3
Q
What is a logic error?
A
The code is executed but doesn’t perform the expected action