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

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I think I found some minor typos.

p. 217 Table 5.10 ofLocalized methods. In line ofLocalizedDateTime need print three times “Legal show whole object”

p. 315 DateTimeParseException in a third sentence, but need ParseException. DateTimeParseException is a RuntimeException.

p. 495 In Exam Essentials second sentence “Paths.getPath()” but need “Paths.get()”

p. 531 On the pre-last sentence. “It returns boolean” but need – “It returns true”

Thanks.
 
Bartender
Posts: 1248
86
Hibernate jQuery Eclipse IDE Angular Framework Spring MySQL Database AngularJS Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to CodeRanch!  until someone who knows the answer replies you, you can happily have a look at the list of OCP errata click here --> link
 
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

Yevhenii Tymoshenko wrote:p. 217 Table 5.10 ofLocalized methods. In line ofLocalizedDateTime need print three times “Legal show whole object”


Typo. This is on page 271 . The table is correct thought. You can't call f.format(localDate) or f.format(localTime) with a date/time formatter because not enough information is supplied. Suppose I asked you to type Sept 1, 2016 and include the month, date, year, hour and minute. You'd have a problem because you don't know what hour and minute to use.

Yevhenii Tymoshenko wrote:p. 315 DateTimeParseException in a third sentence, but need ParseException. DateTimeParseException is a RuntimeException.


Yes. This is in the errata. We messed this up consistently through the chapter so we wrote it once with the chapter number rather than for each page.

Yevhenii Tymoshenko wrote:p. 495 In Exam Essentials second sentence “Paths.getPath()” but need “Paths.get()”


Correct. I've added this to the errata and credited you. Good catch.

Yevhenii Tymoshenko wrote:p. 531 On the pre-last sentence. “It returns boolean” but need – “It returns true”


I'm not sure what the problem is you are trying to report. true is a boolean.
 
Yevhenii Tymoshenko
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
About page 271, I am sorry. It was my mistake.
p. 531 On the pre-last sentence. “It returns boolean” but need – “It returns true”.
“It returns a boolean if the cursor is pointing to a row with data “. I mean it is not precisely. If it returns boolean, it means can be false or true. At this point all time return true.
 
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

Yevhenii Tymoshenko wrote:I mean it is not precisely. If it returns boolean, it means can be false or true. At this point all time return true.


Which is true. We weren't trying for that level of precision with that statement.
 
We noticed he had no friends. So we gave him this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic