different between exception and error? explaim check and
uncheck exception

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How much ram can a 64 bit processor theoretically?

687


What does string intern() method do?

843


Is java ee a framework?

742


What is the use of protected in java?

767


What will be the initial value of an object reference which is defined as an instance variable?

916


How hashmap increases its size in java?

736


What is the difference in between cpp and java? Can u explain in detail?

863


Can a static class have a constructor java?

749


Can we have multiple classes in single file ?

834


What does method mean?

758


What is the difference between post and put?

784


What is set in java?

779


What happens if we override only equals?

771


What is the exception hierarchy in java?

744


What is the meaning of immutable regarding string?

757