Tuesday, 17 January 2017

Difference in Error and Exception?

An Error is an irrecoverable condition occurring at runtime like out of memory error. These kinds of jvm errors cannot be handled at runtime.Exceptions are because of condition failures, which can be handled easily at runtime.

No comments:

Post a Comment