Errata

Introducing Java 8

Errata for Introducing Java 8

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
chap 2
Chapter 2 - Method References - constructor reference

Hello

You wrote :
Supplier<List<String>> listOfString = List::new;

As far as I know, List in java 8 is abstract, we can't initialize it, maybe you can use ArrayList.

Anonymous  Jan 02, 2019