Win a copy of High Performance Python for Data Analytics this week in the Python forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

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

 
Ranch Hand
Posts: 238
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: 40400
821
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: 238
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: 40400
821
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.
 
You get good luck from rubbing the belly of a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic