Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Errata for OCP: Oracle Certified Professional Java SE 8 Programmer II Study Guide - Online Material  RSS feed

 
John Longer
Greenhorn
Posts: 16
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Mock Exam 2, Question 32

Although ResultSet Type and Concurrency Mode are twisted, it does not throw SQL Exception, compiles and runs fine.
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37234
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've updated the errata to reference this question. The answer is "complicated" so my fix is to change that answer to "compiles, but is incorrect."

It actually does throw a SQLException ion my exam. But that is an artifact of the test data which isn't fair to include in the question.
 
Jerzy Los
Greenhorn
Posts: 7
3
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In errata there is “The code does not compile, but is incorrect”.  i think it should be “The code compiles, but is incorrect”.
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37234
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jerry,
Have a cow for pointing that out. Thanks. I must have been rushing when noting that!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!