Three Kinds of Error
There are three kinds of error, in ascending order of nastiness:
- Syntax errors, detected by the compiler.
- Exceptions and failed assertions, detected by the run time.
- Logic errors, detected by proofreading the output.
The beauty of Java is most of the errors are detected by the compiler.
~ Roedy (1948-02-04 age:70)