O'Reilly logo
  • Francisco Javier Sainz Ozegueda thinks this is interesting:

 Stream<Integer> fromArray = Stream.of(1, 2, 3);    // count = 2

From

Cover of OCP Oracle® Certified Professional Java® SE 8 Programmer II

Note

Fix it count = 3