Answer Posted / ritesh srivastav
1 exception is a condition that has been occur in piece of code. that can be handle by programmer.
whereas error is occur at runtime of program.that can not be handle by programmer.
2 eg. of exception is no divide by zero
whereas eg. of error is stack over flow.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are parsers? Dom vs sax parser.
What is bubble sort in java?
What one should take care of, while serializing the object?
Is namespace same as package in java?
What are the drawbacks of singleton class?
Which is bigger float or double java?
What is difference between an object and a class?
What is the difference between multiple processes and multiple threads?
Explain the difference between treeset and treemap in java?
What is the use of join method?
What isan abstract class and when do you use it?
How do you delete a list in java?
What is mvc in java?
How does singleton class work?
What happens when a thread cannot acquire a lock on an object in java programming?