Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Modern Java - Mastering Features from Java 8 to Java 21
  • Table Of Contents Toc
  • Feedback & Rating feedback
Modern Java - Mastering Features from Java 8 to Java 21

Modern Java - Mastering Features from Java 8 to Java 21

By : Dilip Sundarraj
close
close
Modern Java - Mastering Features from Java 8 to Java 21

Modern Java - Mastering Features from Java 8 to Java 21

By: Dilip Sundarraj

Overview of this book

This course guides developers through Java’s evolution from version 8 to 21, focusing on modern features that enhance code readability, performance, and efficiency. It starts with Java 8 fundamentals like lambdas, functional interfaces, and the Streams API, enabling a shift from imperative to declarative programming. Learners will set up their development environment and understand why Java 8 was a transformative release. As the course progresses, participants explore features from Java 9 to 21, including the Java Platform Module System (JPMS), local variable type inference (var), text blocks, enhanced switch expressions, records, sealed classes, and pattern matching. Object-oriented programming improvements and functional programming techniques are emphasized to help developers write concise, type-safe code. Practical modules cover parallel streams, the modern HTTP client, and date/time APIs for robust scheduling. The course culminates in a real-world CheckoutService application using sealed classes, a simple web server, and modern Java tooling. By the end, developers will have an up-to-date skill set to confidently build scalable, enterprise-grade Java applications.
Table of Contents (28 chapters)
close
close
2
Getting Started Modern Java
3
Local Set Up
11
Streams API - Factory Methods
18
Base Project Setup for Exploring Java 9 and Beyond Features
19
Local Variable Type Inference (LVTI) Using var
25
CheckoutService Application [Real-Time Use Case]
26
Simple Web Server
You're currently viewing a free sample. Access the full title and Packt library for free now with a free trial.
Chapter: 6
Lambdas and Functional Interfaces
Icon This video is locked
Icon
Icon
0:00
2.0x
1.5x
1.25x
1.0x
0.5x
caption settings
caption off
Icon Icon
ShowHide Transcripts Icon
Visually different images
CONTINUE WATCHING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Modern Java - Mastering Features from Java 8 to Java 21
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon