Category 76 tutorials

Java 8 Tutorials

Java has taken a big leap with Java 8 or JDK1.8. The language now supports functional programming features such as lambda expressions, functional interfaces, streams, collectors and the like. In this section you will find tutorials which cover both the fundamental and advanced concepts of Java 8.

In case you are new to Java 8, then I would suggest you first go through the Functional Interfaces Tutorial, then read the Lambda Expressions Tutorial, followed by the Tutorial on Method References, and then go through the Streams API Basics. These 4 tutorials together cover the essential fundamentals of Java 8.

The section also goes beyond the basics with tutorials on CompletableFuture, parallel streams, Collectors.toMap and custom collectors, the new Map methods (merge, putIfAbsent, forEach) and sorting a Map, the Bi-, Unary/Binary and primitive functional interfaces, effectively final variables and checked exceptions in lambdas, ConcurrentHashMap, LongAdder and StampedLock, creating, combining and sorting streams, and Base64 and StringJoiner.

Post Thumbnail
Post Thumbnail
Posted: August 27, 2014
Post Thumbnail
Posted: September 15, 2015