xhtml
 

Compile Time Errors

The Java compiler does a lot of checking for you, and produces a lot of compile time error messages. Although you may find this irritating at first, if you are not used to it, it is a very good thing. Compile time errors are a lot easier to deal with than run time errors. Here are a few tips for dealing with them.

These hints work with any language and any compiler. It isn't sensible to list possible error messages, because they differ between compilers and between versions of one compiler. But for any one compiler version, there aren't all that many that you are likely to meet, so you will soon get used to them.

It is also definitely not sensible to try to list the possible causes of the errors, because there are too many possibilities and every beginner has their own ingenious errors,