Java OCA/OCP 8 Programmer Practice Tests

pt-cover

In late 2016, Scott Selikoff and Jeanne Boyarsky were approached by Wiley Publishing to create a brand new book of practice exam questions for the Oracle Certified Associate (OCA) and Oracle Certified Professional (OCP), Java SE 8 Programmer, exams. The new book, OCA / OCP Java SE 8 Programmer Practice Tests, serves as a worthwhile addition to our existing OCA 8 and OCP 8 book lineup, for those who have read the material thoroughly, but desire additional help practicing for the exams.

The book is divided into two parts, one half for the OCA 8 exam and the other half for the OCP 8 exam, with each chapter corresponding to a different set of Oracle objectives. The new book includes over 1,000+ hand-crafted and peer reviewed practice questions, including two full mock exams. With our two Study Guides and or

With our new Practice Test book, we are confident our readers have everything they need to pass both exams! Oh, and if you haven’t purchased either of our Study Guides but are interested in taking the exams, Wiley has released a boxed set OCA / OCP Certification Kit, due in large part to how the book was been received by our readers.

OCA / OCP Java SE 8 Programmer Practice Tests is now available and shipping via Amazon!

Where to buy it:

Length/score/changes to the objectives since the exam was launched

Oracle has a tendency to change this information from time to time. See the following page for your exam:

Errata

The table is sortable so you can see focus on the errata by criticality, chapter or see the ones added since you last checked. To report a potential error, please create a thread at http://www.coderanch.com/forums/f-24/java-programmer-SCJP. Be sure to include “Sybex” and the chapter and/or page number in the subject. Note that we’ve removed online only errata (conversion errors) from this table after they were fixed. Errata in the book will remain posted of course!

Online materials:

Page Chapter/ Question # Error Type of error Reported by/via Confirmed on Reported to Wiley Listed on Wiley’s errata Fixed in online exam software
n/a Ch 1 #4 This question is missing all the words in code font. It should say “Given that a Date class exists in both the java.util and java.sql packages, what is the result of compiling the following class?” Also, the table shouldn’t be in this question. Conversion error Jeanne Boyarsky 2017-04-10 2017-04-10 n/a – correct in book Pending
10 Ch 1 #29 theInput[2] should be deerParams[2] Typo Noorul Hameed 2017-05-17 2017-05-17 Pending Pending
30 Ch 2 #47 Answers A & B should say “static TennisBall” rather than “TennisBall static”. This does not affect the correct answer. Typo Juerg Bauman 2017-12-02 n/a n/a n/a
30 Ch 2 #48 car.play(); should be car.play(); car = null; Typo Pawel Pusz 2018-07-28 n/a n/a n/a
35 Ch 3 #9 “1: package exam; public class Election {” should be one line. Formatting Jeanne Boyarsky 2017-04-10 2017-04-10 Pending Pending
36 Ch 3 #36 Option D is incorrect if you have extra knowledge. So you give yourself credit if you wanted to choose “none of the above” Formatting Nurettin Armutcu 2017-10-28 n/a n/a n/a
n/a Ch 4 #32 “java EchoFirst” should be java unix.EchoFirst” Conversion error Jeanne Boyarsky 2017-04-10 2017-04-10 n/a – correct in book Pending
n/a Ch 5 #14 The incorrect question is online Conversion error Charles O’Leary 2017-05-28 2017-05-28 n/a – correct in book Pending
82 Ch 6 #8 “Long” should be “long” in Option B Typo Nurettin Armutcu 2017-10-28 2017-10-28 n/a n/a
online only Ch 7 #10 Option D should be “A checked exception thrown by a method in the child class must be the same or narrower than the exception thrown by the method in the parent class.” This is correct in the printed book Translation error Jens van Groeningen 2021-02-23 2021-02-23 n/a n/a
102 Ch 7 #14 main() should be main(String[] args) Typo Nurettin Armutcu 2017-10-28 2017-10-28 n/a n/a
111 Ch 7 #40 Options A/B/C should be 2.0/4.0/8.0 Typo Scott Selikoff 2020-06-14 n/a n/a n/a
113 Ch 7 #48 “return 12” should be “return null” Question unanswerable Jeanne Boyarsky 2017-04-10 2017-04-10 Pending Pending
118 Ch 8 #9 “throw t” should be throw aioobe” Question incorrect Charles O’Leary 2019-12-15 2019-12-15 Pending Pending
online only Ch 8 #32 In Option C “m4” should be “m3” (This is correct in the physical book) Online answer incorrect Noorul Hameed 2017-05-26 2017-05-26 Pending Pending
127 Ch 8 #35 street.toString() + “:” should be street.toString() + “-“ Question incorrect Noorul Hameed 2017-05-26 2017-05-26 Pending Pending
127 Ch 8 #35 street.toString() + “:” should be street.toString() + “-“ Question incorrect Noorul Hameed 2017-05-26 2017-05-26 Pending Pending
237 Ch 13 #40 (ch 12 online) This question can’t be answered. To fix, change the question to be “Why can’t String::charAt be used as a method reference with a Function. Question incorrect Ilkay Polat 2017-06-09 Pending Pending Pending
176 OCA #63 Typo Remove “package unix;” from the question Jens van Groeningen 2021-01-23 Pending Pending Pending
182 OCA #76 Typo LocalDate.of(1, 11) should be LocalDate.of(1, 11, 22) Vlad Alin 2021-12-07 Pending Pending Pending
2023 OCA #34 Error Add “Assume o is never null” to the question Jayme Kirchner 2023-09-09 Pending Pending Pending
online only OCA #79 in Question incorrect Rune Thode 2021-01-23 Pending Pending Pending
237 Ch 13 #40 (ch 12 online) This question can’t be answered. To fix, change the question to be “Why can’t String::charAt be used as a method reference with a Function. Question incorrect Tamas Szekeres 2017-06-09 Pending Pending Pending
304 Ch 18 #10 (ch 17 online) “The absolute is” should be “The absolute path is” Typo Juerg Bauman 2018-05-20 2018-05-20 Pending Pending
329 Ch 19 #28 ! p.isAbsolute() should be p.isAbsolute(). With the typo, give yourself credit if you answered Option D Typo Pallavi Sadit 2017-10-15 Pending Pending Pending
361 Ch 21 #18 (ch 20 online) “select * from cert” should be “select * from books” Typo Juerg Bauman 2018-05-20 2018-05-20 Pending Pending
395 OCP mock #19 Option C should say “map” instead of “mapToInt”. This doesn’t affect the answer to the question. Typo Tamas Szekeres 2017-06-09 Pending Pending Pending
407 OCP mock #44 “updatable” should be “updatable and scrollable” Typo Mushfiq Mammadov 2019-09-21 Pending Pending Pending
429 Ch 1 #21 “yesterday” is static. Not “tomorrow”