(If I missed the following during a search on this forum, my apologies in advance...) On K&B CD Exam (Sun Certified...II), here's a question on arrays:
The answer I chose was "Runtime Exception", since a1[1][0] will give you a NullPointerException. The LearnKey answer, however, said that there was compilation error at line 6. This one seemed easy, but I ran the code anyway to be sure (using Sun JDK 1.4.1), and got the NullPointerException, as expected. I believe's there's an error in the answer key for this one... can anyone confirm (or point to a forum on this that I missed)? Thanks ---
Originally posted by Marlene Miller: Ack. That same question appears twice in Exam II. My answer of runtime exception was scored as incorrect both times.
Mine too.. But I manually added 1 question as correct one, instead of incorrect
I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
Run away! Run away! Here, take this tiny ad with you:
a bit of art, as a gift, that will fit in a stocking