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

Why doesn't the java library use a randomized version of quicksort?

767


Why is multiple inheritance not supported in java?

794


How does finally block differ from finalize() method?

826


Why are variables important in research?

759


What is difference overloading and overriding?

823


What is the function of static in java?

790


Explain the public class modifier?

724


What is the difference between I ++ and ++ I in java?

750


What are three types of loops in java?

820


Does sprintf allocate memory?

838


What is the java virtual machine?

863


1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?

4419


Can we overload destructor in java?

778


how can i use a nonsynchronized hashtable?

2332


What is the differences between heap and stack memory in java? Explain

760