[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Tim Moroz wrote:Page 224
It looks like a typo:
"The most common functional interfaces are Supplier, Consumer, Function, and Predicate. There are also binary versions and primitive versions of many of these methods."
It seems to me that the author meant "interfaces" rather than "methods".
Tim Moroz wrote:Page 230, review question #14 - explanation
The explanation says: "(...) Line 7 is where it all falls apart. Converting from a double to an int would require a cast inside the lambda."
After testing this piece of code on my machine it seems to me that for this line to compile one also needs to change "mapToInt" to "mapToObj".
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Tim Moroz wrote:Correct if I'm wrong please. As far as I know you make such a comment in the code only when it outputs something.
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
OCAJP7, OCPJP7, OCEJWCD6
Javid Azimli wrote:Hi.On page 239.İn the "Finding a Time Zone" frame.At the end tab.
"Try the country name or city name. Or you can print
everything and look though that."
it should be as below
"Try the country name or city name. Or you can print
everything and look through that"
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
OCAJP7, OCPJP7, OCEJWCD6
OCAJP7, OCPJP7, OCEJWCD6
Javid Azimli wrote:My name wasn't mentioned as reporter in errata list.It's empty.
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Jeanne Boyarsky wrote:
Javid Azimli wrote:My name wasn't mentioned as reporter in errata list.It's empty.
Fixed. I hand edit the HTML On the page because wordpress table editing "leaves something to be desired". I had entered both the URL of this thread and your name in that cell. I must have had a misplaced HTML tag which it cleaned up on save.
OCAJP7, OCPJP7, OCEJWCD6
DateTimeParseException, IOException, and SQLException are common checked exceptions.
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Tim Moroz wrote:
It seems I've found some more errata
page 347 in 2 pieces of code:
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Many common streams including map(), forEach(), and filter() can be processed independently, although order is never guaranteed.
Tim Moroz wrote:Page 370:
Many common streams including map(), forEach(), and filter() can be processed independently, although order is never guaranteed.
It seems to me that "many common stream operations" would fit better, wouldn't it?
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Tim Moroz wrote:It seems that these two lines should be swapped to be consistent with the code.
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
various/td>
Tim Moroz wrote:It seems I found a problem on this page: https://www.selikoff.net/java-ocp-8-programmer-ii-study-guide/
There's a row between pages 442 and 456 and the value in the column "Page" is the following:
various/td>
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
(...) to verify that is has been updated.
Tim Moroz wrote:I suspect that this is a nitpicking, but hope that at least it's worth of adding to your private list:
Page 483:
(...) to verify that is has been updated.
to verify that IT has been updated.
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Exception in thread "main" java.lang.IllegalStateException: Duplicate key lions
Exception in thread "main" java.lang.IllegalStateException: Duplicate key 5
Jorge Ruiz-Aquino wrote:Stack trace says:
Exception in thread "main" java.lang.IllegalStateException: Duplicate key lions
Should say:
Exception in thread "main" java.lang.IllegalStateException: Duplicate key 5
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Consider Paul's rocket mass heater. |