355747 (2) [Avatar] Offline
#1
At page 69, after the quiz 4.1 there is the sentence :
"The last operation in the stream pipeline count returns a long, which is a non-Stream value. It’s therefore a terminal operation. All previous operations, filter, distinct, limit, are connected and return a Stream. They are therefore intermediate operations"
but I couldn't find in the preceding rows and pages an example of stream that ended with count terminal operation.
355747 (2) [Avatar] Offline
#2
As to give more informations, at page 72 and 73 there is the same sentence I mentioned as answer for quiz 4.2.

Also quiz 4.2 is called quiz 4.1 at page 72.