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

What is try-with-resources in java?

603


What is difference between checked and unchecked exception in java?

567


Difference between character constant and string constant in java ?

553


Can you make a constructor final in Java?

621


What is java abstraction with example?

550






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

556


What is set string?

588


Explain public static void main(string args[]).

562


What is java objectoutputstream?

539


Can a private method be declared as static?

574


What is run time allocation?

571


Why set do not allow duplicates in java?

571


What is the difference between replace and replace all?

466


What is hashtable and explain features of hashtable?

556


What are the types of java languages?

515