different between exception and error? explaim check and
uncheck exception

Answers were Sorted based on User's Feedback



different between exception and error? explaim check and uncheck exception ..

Answer / malligontla

Exception is caused due to programmer mistake where as error
is because of the jvm failure. Checked exception user should
handle the exception to ensure the smooth flow of the
program without any break IOException, unchecked exception
is the user might or might not handle the exception example
is Arithmetic exception

Is This Answer Correct ?    7 Yes 0 No

different between exception and error? explaim check and uncheck exception ..

Answer / jreader

Exception and Error both classes extends Throwable class.
checked execption is an exception which need to be mentioned
in Throws list so that compiler can understand what type of
exception perticuler method can throw (forexample-
SQLException) whereas unchecked exception compiler will
handle and it comes at run time (for
example-IndexOutofBoundException)

Is This Answer Correct ?    3 Yes 0 No

different between exception and error? explaim check and uncheck exception ..

Answer / nitin jain

Checked exceptions check at the time of compile the program
where unchecked exception check at runtime.

Is This Answer Correct ?    3 Yes 0 No

different between exception and error? explaim check and uncheck exception ..

Answer / guest

exception is an method for use skip an error

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

Describe string intern() methodology

0 Answers  


You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain

0 Answers  


Explain the pointers in Java?

0 Answers   Aspire,


What is null mean in java?

0 Answers  


What is a platform?

0 Answers  


Define how can we find the actual size of an object on the heap?

0 Answers  


is it mandatory to deaclare all variables public static fianl in interfaces?if i declare like in the below program, public interface A { public static final int I=0; int j=0; } in interface A,what is the difference between I,j?

2 Answers  


Is multiple inheritance allowed in Java? Why ?

7 Answers  


What is yield () in java?

0 Answers  


What is the main advantage of passing argument by reference?

0 Answers  


what is mean by String and StringBuffer? What is mean by Methooverriding and Overloading?

3 Answers   Satyam, STI,


Why do we use string?

0 Answers  


Categories