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
Difference between object and reference?
What is bubble sorting in java?
How do you join strings in java?
Is it possible to use Semaphore/ Mutex in an Interrupt Handler?
What is computer compiler?
Is hashset sorted in java?
What are different data structures in java?
What is array pointers ?
What is the difference between a synchronized method and a synchronized block?
Do loops java?
What is the access scope of a protected method?
How is hashcode calculated in java?
Difference between association, composition and aggregation?
What is lifetime variable?
What is Mutex (Mutual Exclusion Object) ?