Campbell Ritchie wrote:...I am a bit surprised that we didn't see both compiler errors together.
My problem is how this type of questions are to be considered:
A) Find what's wrong in the code.
Line 5 and 9 are problematic.
B) What do you get if you run this code?
Line 5 cause java compilation error
It's non clear.
Unfortunately, partial responses are evaluated as 0!