53.8k views
2 votes
An exception (as distinct from an Exception) is____________.A. a failure of code that handles the "normal cases" B. a circumstance that a programmer chooses to handle outside the code that handles "normal cases" C. circumstance that cannot be handled by code for the "normal cases" D. an extremely rare event any special case that is a circumstance that the programmer has to handle

1 Answer

3 votes

Answer:

B. a circumstance that a programmer chooses to handle outside the code that handles "normal cases"

Step-by-step explanation:

An exception (as distinct from an Exception) is an event, occurs when a program is executed, when an error occurs within a method, this method creates an object, and this object is called an exception, contains information about the error like type and the state of the program when the error occurred, in addition, is called an exceptional event,

User Dfichter
by
4.6k points