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


Please Help Members By Posting Answers For Below Questions

What is the use of private static?

642


What is a super method?

637


What are daemon Threads in java?

724


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?

692


FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?

2778






Can a method be static?

614


Describe how to implement singleton design pattern in struts.

631


Can a source file contain more than one class declaration?

615


Explain about core java?

727


How many types of variables are there?

767


Why do we need singleton class?

640


What are the restrictions imposed on method overriding?

646


What is the difference between interface & abstract class?

663


What programs use java?

565


Are generics important java?

613