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


Please Help Members By Posting Answers For Below Questions

What are basic data types?

793


if u open login & logout ,how can udisplay the timelogin & logout members ?

1964


Explain creating threads by implementing runnable class?

855


Explain access modifiers in java.

792


What is unmodifiable collection in java?

717


What is the vector class in java programming?

784


How to convert string to byte array and vice versa?

803


Can a class have 2 constructors?

679


How to check if a list is sorted in java?

799


Can java run on google chrome?

894


Is it possible to instantiate the abstract class?

749


Is heap stored in ram?

723


How will you invoke any external process in java?

841


How can constructor chaining be done using this keyword?

952


Is a boolean 1 bit?

843