• 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

Errata for OCP: Oracle Certified Professional Java SE 8 Programmer II Study Guide - page 559

 
Ranch Hand
Posts: 241
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This could be added to the explanation for Question 18: 'A' does not compile because there is a missing parenthesis at the end of the statement.

Unless the missing parenthesis is a typo, in which case Question 18 on page 282 should be amended.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's a typo/errata. The paren should be there and I've logged it.

The good news here is that the OCP doesn't test you on missing parens or curly brackets. Which means you don't have to waste time counting them on the exam!
 
T Vergilio
Ranch Hand
Posts: 241
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Really?! That's a relief! I remember nearly going insane counting parentheses and curly brace for the OCP 6 a few years ago, to make sure they matched. There was always an evil "does not compile" option which forced you to check these things.

I'm glad they've changed this. Nearly everyone uses IDEs these days anyway, and they all highlight missing punctuation as you type. The exam should concentrate on compiler errors that test the candidate's in-depth understanding of the underlying API, not missing punctuation.
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

T Vergilio wrote:Really?! That's a relief!


Yes! It's great not to waste time with that!

T Vergilio wrote:There was always an evil "does not compile" option which forced you to check these things.


There's still the evil "does not compile" option on many questions. But it is for more "interesting" things like referring to a private variable from another class or the wrong syntax on lambdas. Rather than counting parens/brackets.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic