what is difference between Exception and Error?

Answer Posted / mantu

An Exception is an abnormal condition or situation that arises
in a code at run time means they are are run time error.
An exception can be caught handled manually but an error can not be caught or handled.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many threads can java run?

550


What are the six ways to use this keyword?

600


Can we assign null to double in java?

538


What is difference between static variable and global variable?

540


Why are data types important?

529






Is void a wrapper class?

521


What is a method header?

538


What is output buffer?

558


What are locale settings?

539


What is super?

572


How hashset works internally in java?

576


How many bytes is a string?

556


What is the difference between jvm and jre? What is an interface?

540


Write a program to print all permutations of string?

671


What is super keyword explain with example?

525