what is difference between Exception and Error?

Answer Posted / paletipatisrinu

Error : Something goes wrong in our application/program ,
that leads to crash your output/logic is called as error.
the error may be of syntatic error or error which can
easily identify the programmer.

Exception:its unwanted and unexpeceted event its disturb the
normal flow of program execution.
Exception is an object it occurs at run time it
gives system error message and then convert system error
message into user friendly messages

Is This Answer Correct ?    9 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the access modifiers in java?

576


What does a boolean method return?

617


What is bitwise complement?

490


What is java util?

524


How do you do a line break in java?

485






What are keywords in java?

566


What is string syntax?

538


What are the concepts of 'OOPS'?

585


What is the final class?

538


What is a type parameter in java?

523


What is the meaning of variable in research?

547


What is getkey () in java?

558


What is a lock or purpose of locks in java?

576


Is ruby built on java?

519


How do we access static members in java?

618