Does the new edition have Java 8 syntax


I am using version 1.5.9 and it uses Java 7 style syntax for all the solutions.
I am wondering if the new edition has solutions with Java 8 syntax?

The github repo also used Java 7 syntax.



Hi @KrishV,

Please check for the latest solution as we are moving to this testing framework for our readers.


Which version does the latest copy of the book has? Would it have Java 8 style declaration(for some common ones like comparators (x,y) -> x-y)


The latest copy of the book shall have that as far as I know. We are moving to Java 9 syntax in the solutions recently (e.g., List.of).