A question about review question 10 of chapter 9 of the book, containing the following code:
When I enter the code in the question and try to compile it, I get the following error messages:
While the answer states that line 13 is incorrect. Indeed, when I insert the semicolon at line 6, the error is:
So the correct answers would be C and D. But that is crazy. Do you know how the compiler handles these situations? I would assume that it would go forward as if the semicolon was inserted at line 6 and give the last error.