If you use JBuilder, it'll compile (but the statement will hopefully be optimized away), but if you use SUN's own compiler (javac) you'll get the error.
Guess the author of the mock-exam uses JBuilder or something similar.
Originally posted by Valentin Crettaz:
[b]Answer is wrong. It gives a compile error. Try to compile the code and you'll see it. The only construct with which you can use false is with "if" so that you may insert debug conditional compilation.
HIH
[/B]