What is the difference between error and exception and
explain in simple words not whatever is given in the book.
Answer Posted / neelamadhab mallick
During compilation, JVM check for the error by matching 200
internal instruction code of JVM which is predefine in JVM
by SUN Mc. It is not a class rather than instruction code.
Exception is runtime error witch is handled by Exception
classes present in Java provided by Sun Mc.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Is zero a natural number?
What is static variable with example?
What is the common usage of serialization? What exceptions occur during serialization?
What is a line break?
Mention some features of java?
What is an abstract method in java programming?
Give example to differentiate between call by value and call by reference.
What is defined as false sharing in the context of multithreading?
What exactly is a .class file?
What is finalize()? Is finalize() similar to a destructor?
How to perform quicksort in java?
Can we have try block without catch block?
What do you understand by synchronization?
How to make a class or a bean serializable?
what are synchronized methods and synchronized statements? : Java thread