Exception in Java
An Exception can be anything which interrupts the normal flow of the program. When an exception occurs program processing gets terminated and doesn’t continue further. In such cases we get a system generated error message. The good thing about exceptions is that they can be handled. We will cover the handling part later in this same tutorial.
There are two types of exceptions:
There are two types of exceptions:
- Checked Exception
- Unchecked Exception
Comments
Post a Comment