Answer Posted / kannan
Error is a broader term which could be used to define all
not-so-expected behaviour of the program in
which 'Exception' is of one kind. Like many answered here,
exception is an unexpected behaviour at run time which
could cause the processor to rise the exception and can be
captured/handled in the program and further it could be
thrown to higher level code.
Compiletime error:
The other types of errors could be compile time errors
mainly captured by the compiler based on not-in-agreement
with the specific language specification.
Program logic error (function):
This type of error is left in the program after cleaning
compile time error and may or may not cause an exception.
This means the program could produce a wrond result.
Abnormal Operation error:
This type of error is produced by operating the program in
not so expected way. This means, under normal operating
condition the program will produce right results but could
produce wrong results if the operating procedure is not
followed. This is important aspect to fix in mission
critical applications.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do you find the independent variable?
Can we declare a constructor as final?
What is a class reference?
how is final different from finally and finalize in java?
Why 1 is not a prime number?
What is the main purpose of java?
What are the two ways of implementing multi-threading in java?
When do we need to use internal iteration? When do we need to use external iteration?
Is minecraft java edition free?
What an i/o filter in java programming?
Is it possible to override the main method?
Can constructor be static or final?
What is deserialization?
What are constructors in java?
What is a jit compiler?