Hi Jeanne/Scott,
Think I may have spotted one. P204. Table 4.5, which details how to print a stream, it has several options, and states:
Would
not be destrictive to the stream. But as count() is a terminal operator, the stream is no longer usable after it is invoked.
Yields:
1
2
3
Exception in thread "main" java.lang.IllegalStateException: stream has already been operated upon or closed
Apologies if incorrect.
Also I was wondering if there is an errata in one place like the one that
Roel kindly administrated for the SE 7 study guide? I did have a look around before posting this one, but it really would be handy to have a definitive errata in one place.
many thanks, James
BSc Software Engineering (Hons), OCP 6, OCP 7, OCP 8
https://twitter.com/jaymoid