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
Find the value of a specified element of the array arr[i] where 0 <= i <= n-1
What is math floor in java?
What are decalarations?
Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?
Why main function is static?
give an example for encapsulation?
Is java written in c?
Does java support Operator Overloading?
What are abstract methods in java?
What is the final keyword in java?
What is constructor chaining and how is it achieved in java?
What is an error in java?
How do you sort in ascending order in java?
What are the characteristics of Final,Finally and Finalize keywords.
What is string and its types?