101k views
2 votes
A(n) ________ is an object that is generated in memory as the result of an error or an unexpected event.

a.)exception

b.)error message

c.)default exception handler

d.)exception handler

1 Answer

4 votes

Answer: a)Exception

Explanation: Exception is the occurrence of an situation in the computer system field due to which interruption is caused in the execution of the program. A object is created in this event known and the exception object that contains the information about the error that has occurred.

The exception is handled by the exception handler.It catches the exception during the execution or after run time. Other options are incorrect because they are not the unexpected event to disorder the flow of program.Thus the correct option is option(a).

User Ratish Bansal
by
7.8k points