Answer

The compiler always alerts you to the existence of a syntactic error, so you know to fix it. A runtime error will not show up until you run the program. In fact, it may not show up until you have run the program ten or a hundred or a thousand times.

Return to lesson.



Hamlet Project
hamlet@cs.utah.edu