aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Error in Inquisition Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Error in Inquisition Question" Watch "Error in Inquisition Question" New topic
Author

Error in Inquisition Question

Santiago Bravo
Ranch Hand

Joined: Jul 25, 2008
Posts: 226
SCJP Quiz by the muppeteer, question 24:

What comes on screen?


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.


Santiago
My Path to SCJP Certification My Path to SCWCD Certification
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Originally posted by Santiago Bravo:
The explanation in Inquisition says that "compilation fails" is correct.


Well, so you've learned something about what test preparation material not to use. "null" is of course the correct answer.


[Jess in Action][AskingGoodQuestions]
Matt Russell
Ranch Hand

Joined: Aug 15, 2006
Posts: 165
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!


Matt
Inquisition: open-source mock exam simulator for SCJP and SCWCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error in Inquisition Question