• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

K&B Exam - incorrect answer?

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
(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
---
 
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ho ho ho.. finally another rancher that has the same problem
https://coderanch.com/t/242576/java-programmer-SCJP/certification/Possible-error-Master-Exam
I wonder if we are the only ones.. no one seems to complain
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
BTW, do you get the same answer as mine?
 
Toby Davis
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Andres Gonzalez:
BTW, do you get the same answer as mine?


Yes. Exam II keeps insisting compilation error... and I keep insisting it's a runtime exception. Bert's master copy is correct, CD copy is not. Hmph.
 
Ranch Hand
Posts: 1392
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ack. That same question appears twice in Exam II. My answer of runtime exception was scored as incorrect both times.
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic