What is the difference between Exception and Error ?

What is the difference between Exception and Error ?

Exceptions are the abnormal condition that you can handle by your program, but Error is an unrecoverable condition that can be handled by the program at runtime. Both Exceptiona and Error classes are drived from the class Trowable. Java running out of memory is an Error and can not be handled by the program.

By:Jalees
Date:2016-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher