Answer Posted / shahnawaz ali shah
Exception is coverable
Error is uncoverable
Exception can be handled
and Error can not be handled
Exceptio is an run time error when an abnormal condition is
occured the jvm detect it and make the object of that
abnormal condition and throws it to its own class and that
object is catched by catched block and catch block handled it
Error is the compile time error not runtime and it is not
covered it is only fixed by a programer.
Note
When Error occur then our programe stops and donot run
but If exception occur then nothing happining only try block
will be suspended and after that if any code is written that
will be executed properly means our system or programe work
properly.
| Is This Answer Correct ? | 116 Yes | 17 No |
Post New Answer View All Answers
When the constructor of a class is invoked?
Why java strings are immutable in nature?
How much ram can a 64 bit processor theoretically?
What are the different ways of implementing thread? Which one is more advantageous?
What do you mean by an object in java?
How many types of operators are there?
What does localhost mean?
Can we restart a thread already started in java?
In case of inheritance what is the execution order of constructor and destructor?
Write a program to print fibonacci series
Explain the meaning of java applet.
How many bits is a string in java?
How does regex work?
What is java autoboxing?
What is file in java?