1. Chapter 4: Functional Programming. Checking functional Interfaces (Kindle Locations 6733-6734)
"Ready? Line 6 passes one String parameter to the lambda and returns a boolean. This tells us that it is a Predicate or Function."
but we have next line:
"6: _____< List > ex1 = x -> "". equals( x.get( 0));"
First - String class doesnt have get() method. Second - we have generic type List for functional interface.
So need to change String -> List and remove "or Function", because Function need to specify two generic types.
2. Chapter 4: Functional Programming. Creating Stream Sources (Kindle Location 6968)
"3: Stream < Integer > fromArray = Stream.of( 1, 2, 3);// count = 2"
count = 3
3. Chapter 5: Dates, Strings and Localization. Review Questions. Question 15. (Kindle Location 9805)
"System.out.println();"
Better will be to add _____ inside brackets.
4. Chapter 8: IO. Working with Streams. The FileInputStream and FileOutputStream Classes. (Kindle Location 13800)
"The FileInputStream class also contains overloaded versions of the read() method, which take a pointer to a byte array where the data is written. The method returns an integer value indicating how many bytes can be read into the byte array."
"can be read" should be "was read"
5. Appendix A: Answers to Review Questions. Answer for question 5. (Kindle Location 16220)
"C. Paths.get(new URI("cheetah.txt"))"
Paths.get throws "java.lang.IllegalArgumentException: Missing scheme", or add C to correct answers, or add scheme.