Example & Tutorial understanding programming in easy ways.

What is Exception and Error ?

What is Exception and Error ?

Exception:-
An abnormal condition which  occurred during the execution of a program, that disrupts the normal flow of the program's execution is called exception .It can be handle .
Exception, a subclass of Throwable

Error:-
An Error indicates that a non-recoverable condition It is serious abnormal condition. It can not be caught any way.

Error, a subclass of Throwable like OutOfMemoryError

Read More →