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
How to create com object in Java?
What is difference between final and finally in java?
What Is Query Throttling in java?
Why are data types important?
Explain with example the concept of constant variable in java.
What is autoboxing and unboxing?
What are the legal operands of the instanceof operator?
What is the purpose of nested class in java?
What is the size of arraylist in java?
what do you understand by the term string with respect to java?
Where is const variable stored?
How is a variable stored in memory?
Why volatile is used in java?
What is public static void main?
Explain the different forms of polymorphism?