Answer Posted / mukesh kumar
Exceptions are abnormal condition that occur at run time and
it can be handle through try catch block.
Errors are those abnormal condition that occur at compile
time and can not be handle. Error terminates the program
whereas exception does not terminate program directly, it
provide chance to handle that abnormal condition.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is difference between overloading and overriding in java?
What is the r character?
How to sort numbers in java without array?
Which class is the superclass for all the classes?
What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?
which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?
Is java 11 paid version?
When do you get classcastexception?
What is string in java with example?
How java enabled high performance?
What is the difference between public, private, protected, and friend access?
Is double bigger than float?
What does method mean?
Can we call virtual funciton in a constructor ?
Explain different types of thread priorities ?