Quiz 2 Flashcards
1
Q
An exception is a _______
A
Object
2
Q
What is one major benefit of having errors signaled by exceptions?
A
Separates the error code from normal program code
3
Q
Why don’t we use exceptions for every error possible?
A
Exceptions come with a lot of overhead, reducing program performance.