+ 3
Exceptions different from checked exceptions?
3 Answers
+ 2
Exceptions implement the Throwable interface in Java.
Exceptions are of two type-
Checked - These are checked at compile time.
Unchecked- These are checked at run time.
+ 1
Checked exception is a type of exception then why there is difference?
Check for more information here.
https://www.geeksforgeeks.org/exceptions-in-java/amp/
0
if method possibly produces exceptions, if it is
checked e. - you must check it with try - catch statement
unchecked e. - you can check it, or not