pranab garai


{ City } bangalore
< Country > india
* Profession *
User No # 49048
Total Questions Posted # 0
Total Answers Posted # 2

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 14
Users Marked my Answers as Wrong # 2
Questions / { pranab garai }
Questions Answers Category Views Company eMail




Answers / { pranab garai }

Question { 85246 }

what is difference between Exception and Error?


Answer

Error occurs at runtime and cannot be recovered, Outofmemory
is one such example. Exceptions on the other hand are due
conditions which the application encounters such as
FileNotFound exception or IO exceptions

Is This Answer Correct ?    3 Yes 2 No

Question { 85246 }

what is difference between Exception and Error?


Answer

Exceptions are also kind of errors which we can hadle at
both compile time and run time by using try and catch
blocks.
These are two types: Compile time and runtime.
Sql and IO operations are come under compile time array
index out of bounds and null pointer these are come under
runtime exceptions

Errors are the problems which we cant hadle, like stack
overflow and memory out of bounds like that...

Is This Answer Correct ?    11 Yes 0 No