Eddie,
Thank you for using my exam.
Sun's trying to turn me into a walking compiler! otherwise i don't see how spotting that kind of mistake makes you a better Java Programmer
The idea is not to learn how to spot mistakes as well as the compiler. The idea is to learn the proper use of each modifier. A programmer is far more likely to use modifiers effectively when the rules are known. Furthermore, learning the rules will help a programmer write quality code and write it quickly. A programmer that depends on coaching from the compiler is unlikely to be as productive as a programmer that does not need the coaching.
Anup,
I am not an expert on compilers, but I do know that most compilers do the job using multiple passes. I assume that the order of the error messages is influenced by the multiple pass approach to compilation.