should be:Tranport
Transport
We can remove both compiler warnings by adding the @SafeVarargs to line 4
We can remove both compiler warnings by adding the @SafeVarargs to line 4
SizeLimitedCrate<Elephant, Ingeter> c1 = new SizeLimiteCrate<>(elephand, numPounds);
java.net .http
4. Repeat with the next-lowest-level project until you are done
4. Repeat with the next-highest-level project until you are done
In this example, the zoo.tours.api and zoo.tours.reservations models make up the service since they consist of the interface and lookup functionality
In this example, the zoo.tours.api and zoo.tours.reservations modules make up the service since they consist of the interface and lookup functionality
If the submit() method had been used instead of execute(), then option C would have been correct answer (...)
Tomasz Kasprzyk wrote:Note: The list below refers to the online version of the book.
Seems that for the online version the page numbers are different than in the errata
1. In some places the varargs' three dots ... are replaced by the ellipsis …
Example: Chapter 1., Review Questions, question 9. (p. 139) or question 24. (p. 150)
Tomasz Kasprzyk wrote:2. Chapter 1., Review Questions, Question 16. (p. 145)
A typo in option D. (4.)should be:Tranport
Transport
Tomasz Kasprzyk wrote:3. Chapter 2., Protecting Arguments with @SafeVarargs. It is written
We can remove both compiler warnings by adding the @SafeVarargs to line 4
should be:
We can remove both compiler warnings by adding the @SafeVarargs to line 4
Tomasz Kasprzyk wrote:4. Chapter 3., Map.of() and Map.copyOf(), (p. 244-247) in the code snippet it is:
should be:
Tomasz Kasprzyk wrote:5. Chapter 3., Table 3.7 (p.245-248)
Instead of: it should be:
Tomasz Kasprzyk wrote:6. Chapter 3., the last code snippet in Naming Conventions for Generics. Missing letter "d" in the constructor call.
SizeLimitedCrate<Elephant, Ingeter> c1 = new SizeLimiteCrate<>(elephand, numPounds);
[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
Tomasz Kasprzyk wrote:7. Chapter 6., Table 6.5 (p. 509). A space to remove in:
java.net .http
Tomasz Kasprzyk wrote:8. Chapter 6. Exploring a Top-Down Migration Strategy (p. 518).
In the 4th point it is written:
4. Repeat with the next-lowest-level project until you are done
it should be:
4. Repeat with the next-highest-level project until you are done
Tomasz Kasprzyk wrote:9. Chapter 6. description before the Figure 6.10 (the last sentence, p. 524), it is written:
In this example, the zoo.tours.api and zoo.tours.reservations models make up the service since they consist of the interface and lookup functionality
should be:
In this example, the zoo.tours.api and zoo.tours.reservations modules make up the service since they consist of the interface and lookup functionality
Tomasz Kasprzyk wrote:10. Chapter 6., Adding a Service Provider (p. 531)
In the TourImpl.java the "Stuffed animal"
Maybe it is ok but for the similar line in the QuickTourImpl.java the change was made (link to the commit)
Tomasz Kasprzyk wrote:11. Chapter 7., Review Questions, question 20. (p. 646)
in the code snippet it is written:
<Future>?>> should be: <Future<?>>
Tomasz Kasprzyk wrote:12. Explanation to the question 20, Review Questions Chapter 7. (p. 1018)
In the explanation it is written:
If the submit() method had been used instead of execute(), then option C would have been correct answer (...)
That seems not true because the service variable is still not effectively final and causes a compilation error.
(see the screenshot from the 11.)
[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
Matus Iglarcik wrote:Chapter 3. In Table 3.7 Map methods (page 130), it is written:
it should be:
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 CSG 11” and the chapter and/or page number in the subject.
Campbell Ritchie wrote:...
Both are incorrect;
...
Tomasz Kasprzyk wrote:...
and create your own thread
...
But using straight K and V can cause a program to fail to compile.Matus Iglarcik wrote:. . . Signature is simplified to make it easier to understand. . . .
Campbell Ritchie wrote:. . . using straight K and V can cause a program to fail to compile...
Mateusz Wesołowski wrote:Page 329, figure 6.10 - redundant arrow between locator and provider.
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 CSG 11” and the chapter and/or page number in the subject.
Tomasz Kasprzyk wrote:@Matus Iglarcik, each erratum should be added in a separate thread. It is more convenient for the authors (what I did not know creating this "batch" thread).
This thread is a counterexample of it and maybe should be closed as well
Alas, poor Yorick, he knew this tiny ad:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
|