[OCP 21 book] | [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
Layne Patel wrote:Yes, certainly, Jeanne
Layne Patel wrote:P.158 Chapter 3: The second paragraph should be: “For computeIfAbsent(), the functional interface runs only when the key isn’t present or value is null”.
Layne Patel wrote:P.204 Chapter 4 Table 4.5: The “Destructive to Stream” column of row 3 s.peek(System.out::println).count() should say Yes, because count() is a terminal operation
Layne Patel wrote:P. 251 Chapter 5 Figure 5.2: In the last rectangle of November changeover line the time should be: 2:00-3:00 (not 2:00-4:00)
Layne Patel wrote:P. 310 Chapter 6 Note: The last sentence in Note should be: “ Keep an eye out for a question that contains assert statement but that is not executed with assertions disabled (not enabled); the assert statement is ignored in that situation”
Layne Patel wrote:P. 314 Chapter 6: The last sentence should be: “You saw how the -ea and -enableassertions (not -enableassertion) flags turn on assertions.
Layne Patel wrote:P. 341 Chapter 7 Code snippet: There should be also catch-blocks for InterruptedException and Execution Exception, because V get(long timeout, TimeUnit unit) method invoked on Future object throws InterruptedException, ExecutionExeption and TimeoutException
Layne Patel wrote:P.346 Chapter 7 Second paragraph : The second sentence should begin “ScheduledFuture<V> is identical to the Future<V> interface (not class)”
Layne Patel wrote:P.372 Chapter 7 Third paragraph: The last sentence should be “In fact, they (stateful operations) should generally be avoided in parallel (not serial) streams wherever possible, since they prevent your streams from taking advantage of parallelization”, because stateful lambda expression in parallel stream produces unpredictable results at runtime
Layne Patel wrote:P.478 Chapter 9 First paragraph : The first sentence should be “Be aware that the entire file is read when readAllLines() is called, with the resulting String list (not array) storing all of the contents of the file in memory at once”, because the return type of readAllLines()-method is List<String>