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
Hi Anyone know the model / questions of the Federal bank sample questions for the post of Specialist Officers - Programmers. Please post if anyone have..
How to perform binary search in java?
Explain thread in java?
What do heavy weight components mean in java programming?
How to instantiate member inner class?
Is overriding possible in java?
What are singleton services?
What causes memory leak in java?
Why declare Main() method as a static in java ?
What is the difference between an argument and a parameter?
What are triggers in DB? Explain their types. How do they work?
What is the meaning of course?
Can you give few examples of final classes defined in java api?
What are anonymous inner classes?
What does @param args mean in java?