What is an exception in java?

In java exception is an object. Exceptions are created when an abnormal situations arise in our program.

Exceptions can be created by JVM or by our application code.

All Exception classes are defined in java.lang. In otherwords we can say Exception as run time error.


Posted

in

Tags:

Comments

Leave a Reply