different between exception and error? explaim check and
uncheck exception
Answer Posted / jreader
Exception and Error both classes extends Throwable class.
checked execption is an exception which need to be mentioned
in Throws list so that compiler can understand what type of
exception perticuler method can throw (forexample-
SQLException) whereas unchecked exception compiler will
handle and it comes at run time (for
example-IndexOutofBoundException)
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the purpose of a transient variable?
What is difference between Heap and Stack Memory?
What is java command?
What is a marker interface?
Is it possible to instantiate the abstract class?
How do you use parseint in java?
Why there are some null interface in java? What does it mean?
What is map java?
If you are given the name of the function at run time how will you invoke the function?
What are the types of exceptions?
Does chrome use java?
What is ascii format?
What are the different types of inheritance in java?
When will you define a method as static?
Do we have pointers in java?