• 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  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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: 1184
74
Eclipse IDE Hibernate jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • 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: 39128
723
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • 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
  • 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: 39128
723
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • 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.
 
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!