What is the difference between error and exception and
explain in simple words not whatever is given in the book.
Answer Posted / neha
errors are not expected to be caught.whereas exceptions can
be handled.Ex:system Failure is error whereas
arrayindexoutofbounds is exception.
Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is the symbol for average?
How hashmap increases its size in java?
Can set contain duplicates?
What does n mean?
What is a method in programming?
What is difference between stringbuffer and string?
How do you use spaces in java?
Which types of exceptions are caught at compile time?
Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.
How does varargs work in java?
Which is easier .net or java?
What is the difference between equals() and == in java?
What are operators and its types?
Can Exception handling we can handle multiple catch blocks?
Difference between final and effectively final ?