Message from the Authors: Read The 1Z0-819 Exam page to learn how you can easily use this book to prepare for Oracle’s 1Z0-819 Exam.
Jeanne Boyarsky and Scott Selikoff developed a two-part study guide for the new Oracle Certified Professional (OCP), Java SE 11 Programmer exam, 1Z0-819. The first book, OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide is published by Wiley Publishing.
We are using this blog to publish information about the book such as objectives changes and any errata found within the book. To report an error in the book that is not yet listed here, please create a thread in the OCP forum and include “Sybex 815” in the subject.
For more information, visit Oracle’s Java SE 11 Exam page. If you have any questions for us, feel free to post in the OCP forum at CodeRanch which Jeanne and Scott visit frequently.
Key links
- OCP/Java SE 11 Developer official exam page (check the latest score/duration/objectives)
- CertView (register for the test and check your score) and ID requirements. See blog on how to register (English) or blog on how register (other languages)
- Download Java 11 from Oracle
- Chapter 11 examples GitHub repo
- How to access the online mock exams
Where to buy it
Length/score
Oracle has a tendency to change this information from time to time. See the exam metadata.
Changes to the objectives
- None so far
Online Material
- None so far
Blog posts related to OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide:
- Our take on the online proctored exams (vs testing centers)
- About the Java Foundations exam
Java Release model information
- Java is still free – article by the Java Champions
- Jeanne’s presentation
- Chandra Guntur’s presentation
Errata
All known errors are listed here. To report a potential error, please create a thread at https://coderanch.com/f/24/java-programmer-OCPJP. Be sure to include “Sybex 815” and the chapter and/or page number in the subject.
Page | Chapter | Error | Reporter | Confirmed |
xlviii | Intro | #14 – || should be | | Alessandro Putzu | 8/22/22 |
lii | Intro | #4 “fifth statement prints statement” should be” fifth print statement” | Sybex | 6/24/20 |
liii | Intro | #11 – “it is implicitly cast” should be “it is explicitly cast” | Tomasz Kasprzyk | 8/19/20 |
various | 1 | We should have acknowledged that the classpath can be used with single file source code execution. | Dean Kirby | 4/13/20 |
10 | 1 | String… args; should be String… args (no semicolon) | Brad Phillips | 10/11/21 |
12 | 1 | In the fourth paragraph, it says you cannot use single file source code execution for a file with two classes in it. This is incorrect. | Dinkar Joshi | 1/2/20 |
13 | 1 | Table 1.1 should say “For programs with one file” rather than “For programs with one class” | Ilkay Polat | 2/12/20 |
21 | 1 | In Figure 1.2, ClassA.class and ClassB.class should be in packagea and packageb respectively. The compile /classes folder doesn’t reflect this. | Susanta Chattopadhyay | 11/27/19 |
33 | 1 | #16 – the question should say what is most common | Ilkay Polat | 8/22/20 |
39 | 2 | On the fifth line “”as only called” should be “as it is only called” | Riffath Khan | 2/23/20 |
47 | 2 | In table 2.2 “Short” should be “short” | Nikolai Vinoku | 1/11/20 |
52 | 2 | In the first paragraph, “otherAnswer variable is initialized” should be “otherAnswer variable is not initialized” | Adrian Pop | 5/14/20 |
52 | 2 | In the second to last paragraph, “they are local variables that have been” should be “they are like local variables that have been” | P Bakker | 1/18/21 |
57 | 2 | In the second paragraph, it says “Java is not case sensitive”. This should “Java is case sensitive” | Ester Gambin | 1/11/20 |
59 | 2 | In the second paragraph, it says a method parameter is a local variable. It is like a local variable for garbage collection and scope, but not in terms of local variable type inference. | Riffath Khan | 2/23/20 |
62 | 2 | In the real world scenario, “automates” should be “automatically” | Riffath Khan | 2/23/20 |
68 | 2 | The first bullet should say “the later five” rather than “the later four” | Rade Koncar | 10/18/20 |
81 | 3 | On the third line “The final values of cookies and reward” should be “The final values of reward and cookies” | Mahmoud Elkeshky | 12/16/19 |
81 | 3 | While most binary operators are evaluated left-to-right when they have the same operator precedence, the assignment operator is evaluated from right-to-left. | Bassam Gemayel | 3/2/21 |
85 | 3 | The example with lion and tiger should be removed. It is incorrect. (++lion should execute before lion–) | Riffath Khan | 3/23/20 |
109 | 3 | In Question #12, Options A and C are the same. Pretend option C says “post-increment, post-decrement”. (Spoiler: option C isn’t the answer!) | Test bank team | 11/13/19 |
113 | 3 | 20 – Option A should say “numeric binary” instead of “binary” to avoid an edge case. | Samuel Silver Moos | 12/26/20 |
Kindle only | 4 | #6 – the blank is missing in the Kindle version. Assume there is a blank before count++; | Nikolai Vinoku | 1/26/20 |
125 | 4 | In the second to last paragraph, “only one of these case statements compiles” should be “only two of these case statements compile” | Mike Cunningham | 2/2/20 |
146 | 4 | In the third paragraph, “skipping all leopards” should be “cleaning all leopards” | Tomasz Kasprzyk | 8/19/20 |
179 | 5 | String concat = ” hello”; should be String concat = “hello “; | Nikolai Vinoku | 1/26/20 |
179 | 5 | The second to last paragraph is incorrect. The first statement prints true, not false because it is “concatentated” at compile time. | Edmond Yong | 12/30/19 |
201 | 5 | In the first code example. line 7 should be weights.remove(new Integer(50)); and the sentence about Line 7 in the following paragraph should be removed | Mahmoud Elkeshky | 1/12/20 |
205 | 5 | In Table 5.7, “getOrDeafult” should be “getOrDefault” | Wei-qiang Zhou | 3/12/20 |
206 | 5 | In table 6.7 containsValue(Object key) should be containsValue(Object value) | Windfer Garro | 2/2/20 |
215 | 5 | #16 – Options E and F should read “two equivalent” instead of “two” | Nikolai Vinoku | 1/26/20 |
229 | 6 | The last line should say “the method returns 42”, not “the method returns 2” | Nikolai Vinoku | 1/26/20 |
236 | 6 | In the second sentence, it should say that values() returns a Collection | Jesse Silverman | 11/13/20 |
289 | 7 | In question #11 line 16 should be print(), not println() | Nikolai Vinoku | 2/6/20 |
293 | 7 | In question #19, option F should say “method”, not “constructor | Nikolai Vinoku | 2/6/20 |
376 | 9 | “Owls implements Nocturnal, CanFly” should be “Owls implements HasBigEyes” | Michael Reeve | 12/26/20 |
385 | 9 | The last sentence should say “Since String does not implement Canine” rather than “Since String does implement Canine”. Also, the paragraph should say “cannot implement the interface rather than “does not implement the interface” | Edmond Yong and Nicholas Barbosa | 1/6/20 |
418 | 10 | “all inherit the same interface or extend” should be “all extend” | Rade Koncar | 12/26/20 |
Various | 11 | All references to the module “zoo.animal.staff” should be “zoo.staff” | Edmond Yong | 1/12/20 |
Various | 11 | All references to “zoo.animals” should be “zoo.animal” | Jeanne Boyarsky | 5/17/20 |
453 | 11 | In the last paragraph, “zoo.animals.talks” should be “zoo.animal.talks” | Elena Felder (While editing Appendix A of the Programmer II book) | 5/23/20 |
459 | 11 | -class-path should be –class-path | Elena Felder (While editing Appendix A of the Programmer II book) | 5/23/20 |
474 | 11 | On the last line, “zoo.staff package” should be “zoo.staff module” | Emmanuel Szpiega | 7/4/22 |
476 | 11 | In the feature, change “As a reminder” to “If we change” | Anton Fuchsberger | 11/13/20 |
481 | 11 | On the last line of the table it should be -m and –module instead of -d and –describe-module | Adrian Pop | 6/13/20 |
486 | 11 | #7 – the question should not contain “to dog” | Christian Schulz | 7/4/20 |
490 | 11 | #21 – It would be clearer if “n” were the module name and “c” were the fully qualified class name | Roman Bohdanov | 12/19/21 |
492 | Ch 1 answer | #3 – Give yourself credit if you answered B, C, and D | Dean Kirby | 4/13/20 |
493 | Ch 1 answer | #14 – C should not be correct. There is no -cp flag | Nikolai Vinoku | 1/11/20 |
500 | Chapter 3 explanation | #13 – Remove “since the order … is the same” for & and ^ | Peter Prazenica | 3/4/23 |
504 | Ch 4 explanation | #13 – “prints three distinct numbers” should be “prints two distinct numbers” | Oksana Cherniavskaia | 7/18/20 |
506 | Ch 5 explanation | #9 – “a” should be “s2” | Amir Shah | 12/26/20 |
508 | Ch 5 explanation | #25 – “It is not the case for option D” should be “it is the case for option D” and “or option F” should be “but not option F” | Anna Da | 7/3/21 |
509 | Ch 6 explanation | #2 – String should be StringBuilder in the explanation | João Lopes | 3/4/23 |
514 | Ch 8 explanation | #5 – “lines 15 and 16” should be “lines 14 and 15”. “Line 17” should be “Line 16” | Mike Gualeni | 3/12/20 |
515 | Ch 8 explanation | #9 – “CharSequence is a subtype of String” should be “String is a subtype of CharSequence” | Mike Gualeni | 3/12/20 |
519 | Ch 8 explanation | #6 – “it does extend it” should be “it does not extend it” | Adrian Pop | 6/13/20 |
526 | Ch 11 explanation | #4 – Ignore everything about option D in the explanation | Federica Sacca | 6/3/22 |
526 | Ch 11 answer | #8 – give yourself credit if you answered E (But knowing that is out of scope) | Oksana Cherniavskaia | 7/19/20 |
528 | Ch 11 answer | #21 should be G because the question asks about a package name rather than a module name. | Jakub Ch | 12/15/19 |
Bonus Exam 1 | #2 | The explanation should say that the ternary operator has the highest precedence, not the assignment operator | Vlad Alin | 12/7/21 |
Bonus Exam 1 | #6 | Option C is incorrect because it should have read Set<Boolean> | Jeroen Steenbeeke | 2/9/20 |
Bonus exam 1 | #71 | Option B is correct for ordering package/import/class because comments are allowed anywhere in the file. | Jeroen Steenbeeke | 2/9/20 |
Bonus exam 2 | #19 | For the question about the module flag, give yourself credit if you answered A or D. While you don’t need to know these options for the exam, they do exist. | Dimitri Nguyen | 7/20/20 |
Bonus exam 2 | #25 | “we divide these two values, we get 0” should be “we divide these two values, we get 1” | Vlad Alin | 12/7/21 |
Bonus exam 2 | #65 | Option B is also correct (DoubleConsumer) | Will Easter | 10/11/21 |
Flashcards | The one about classpath options has the wrong answer. “-cp , –classpath , and -class-path” should be “-cp , -classpath , and –class-path” | Jeanne Boyarsky | 9/22/20 | |
Flashcards | The one with the example [1 2] [3 4]. should say 2D, not 3D | Jesse Silverman | 11/13/20 | |
Flashcards | The one about “removeIf” should have both List and Set as an answer. | Patrick Kessels | 5/30/22 |
Want to report an errata? Post it at the OCP forum at CodeRanch.