Skip to content
Veltoryx Technologies
ProLesson 13.2Intermediate3 min readUpdated 30 October 2026

Java 8: lambdas, streams, Optional and java.time

The release that changed how Java is written. A recap of lambdas and streams, plus default methods and the modern date-time API.

Java 8 (2014) was the biggest change to the language since generics. Interviewers still ask "what's new in Java 8?" because so much modern code builds on it.

01The headline features

FeatureWhat it gave usCovered in
LambdasPass behaviour as valuesLesson 8.1
Functional interfacesFunction, Predicate, Supplier, Consumer…Lesson 8.2
Method referencesString::lengthLesson 8.3
Stream APIDeclarative data processingLessons 8.4–8.8
OptionalExplicit "maybe no value"Lesson 8.7
Default and static methods in interfacesInterfaces can evolveLesson 4.7
java.timeA modern, immutable date-time APIThis lesson
CompletableFutureComposable async codeLesson 9.8
MetaspaceReplaced PermGenLesson 10.2

Loading the rest of the lesson…