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

What is a module function?

797


What is the purpose of file class?

757


Is void a return type?

737


What are the different conditional statements?

754


What is tcp and udp?

784


What types of index data structures can you have in java?

853


What does %d do in java?

797


Why destructor is not used in java?

738


Can a class be defined inside an interface?

761


Define a java class.

1078


How many characters is 2 bytes?

734


What is arguments in java?

735


What do you understand by abstract classes?

825


What happens when you add a double value to a string?

757


What is an object in java and how is it created?

827