+ 2

Difference between exception and error

Can anyone explain me the differnce between exception and error in detail?

22nd Dec 2018, 5:38 PM
777
777 - avatar
1 Réponse
+ 4
Exception is defined as unhandeled condition like divide by 0 is an arithmatic exception so to handle this kind of exception handling is done by try catch and finally block statement Error is calles as two types syntx error which is error of undefinned syntax and logical error which shows the error of logic
22nd Dec 2018, 5:45 PM
MsJ
MsJ - avatar