• 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
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
Bartenders:

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: 1251
87
Hibernate jQuery Spring MySQL Database 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: 41763
887
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: 41763
887
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.
 
I've been selected to go to the moon! All thanks to this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic