Computer Science, asked by mehreensaroya9, 1 year ago

Explain the use of excerption

Answers

Answered by PrinceSubham
12

An exception (short for "exceptional event") is an error or unexpected event that happens while a program is running. When an exception occurs, it interrupts the flow of the program. ... Other languages only use exceptions to catch fundamental runtime errors, such as failure allocating memory or system-level errors


PrinceSubham: please brainliest it
Answered by adeebasaleha
4

An exception is an abnormal or unprecedented event that occurs after the execution of a software program or application. It is a runtime error of an undesired result or event affecting normal program flow.

An exception is also known as a fault.

Similar questions