Three Kinds of Error

There are three kinds of error, in ascending order of nastiness:

  1. Syntax errors, detected by the compiler.
  2. Exceptions and failed assertions, detected by the run time.
  3. 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)