What is the difference between error and exception and
explain in simple words not whatever is given in the book.

Answer Posted / shridhar shelake

Errors are born during compile-time and which is detected
by programmer while Exceptions are born during Run-Time and
which is not detected by developer.

Is This Answer Correct ?    16 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between character constant and string constant in java ?

780


How to Sort Strings which are given in List and display in ascending order without using java api.

4086


Differentiate between static and non-static methods in java.

798


What do you mean by pointer value and address?

789


What is the difference between stored procedure & function?

748


If a method is declared as protected, where may the method be accessed in java programming?

709


What is an enumeration?

776


What is meant by main method?

785


Is it possible for a yielded thread to get chance for its execution again?

727


Can we override protected method in java?

809


What do you mean by flow of struts?

1006


What is pre increment and post increment in java?

706


What is ellipsis in java?

813


What is the default size of load factor in hashing based collection?

804


What is difference between calling start() and run() method of thread?

771