Answer Posted / vikas deshmukh
both inherit from Throwable, some differences are,
Exceptions:
1)It can be checked or unchecked
2)It indicate an error caused by the programmer
3)It Should be handled at the application level
Errors:
1)Errors are always unchecked
2)Usually indicate a system error or a problem with a low-level resource
3)It should be handled at the system level, if possible
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
design an lru cache in java?
What is java regex?
Can we call a non-static method from inside a static method?
What is pass by value?
How do you sort in java?
Which is faster string or stringbuilder?
What is the byte range?
What are the types of methods in java?
How does java pattern compile work?
Can a class be protected in java?
What is meant by class?
How do you check if a character in a string is a digit or letter?
What is Hierarchy of exception?
Difference difference paint() and paintcomponent()?
What is the return type of the main method?