This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I had incorrectly selected that the compilation fails. But then I remembered that the array delcaration is ok. So when I compiled and ran the code the output was null. The explanation in Inquisition says that "compilation fails" is correct.
Originally posted by Ernest Friedman-Hill: Well, so you've learned something about what test preparation material not to use. "null" is of course the correct answer.
I'm sure there are still errors in Inquisition's question banks, but in this particular case that question was fixed in the most recent release of the engine (last June). So if you are going to use Inquisition, please grab the most recent version!