Errors
Compile-time errors:
- Syntax errors: illegal language statements
- Certain kinds of semantic errors.e.g., type mismatch (assign a Character value to Boolean var)
-
Run-time errors:
- Certain kinds of semantic errors.e.g., try to access non-existent
dynamic data (dereference a
nil/null pointer)
- Logic errors: legal program
that produces wrong behavior