This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin for Android App Development and have Peter Sommerhoff on-line!
See this thread for details.
Win a copy of Kotlin for Android App Development this week in the Kotlin 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
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

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

 
Ranch Hand
Posts: 238
5
  • Mark post as helpful
  • send pies
  • 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: 39129
723
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • 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
  • 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: 39129
723
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • 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.
 
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!