-
Book Overview & Buying
-
Table Of Contents
Modern Java - Mastering Features from Java 8 to Java 25
By :
Modern Java - Mastering Features from Java 8 to Java 25
By:
Overview of this book
This comprehensive course takes you on a journey through the most significant Java features, from Java 8’s Lambda expressions to Java 25’s cutting-edge advancements. The course is designed to provide you with a deep understanding of modern Java, beginning with foundational concepts such as imperative vs. declarative programming. As you progress, you’ll master essential features like lambda expressions, functional interfaces, and streams, which streamline your Java code, making it more readable and concise.
Throughout the course, you’ll also explore powerful tools introduced in later versions, including the Java Platform Module System (JPMS), which modularizes your applications, and the introduction of records and pattern matching, simplifying data handling and improving code clarity. You’ll not only understand these features but also how to implement them in real-world scenarios through hands-on labs and examples.
By the end of the course, you will be proficient in using the latest Java features to write cleaner, more efficient, and maintainable code. Whether you’re a seasoned Java developer or new to the language, this course will help you unlock the full potential of Java from versions 8 to 25, preparing you for modern software development challenges.
Table of Contents (28 chapters)
Getting Started
Getting Started Modern Java
Local Set Up
Why Java 8?
Introduction to Lambda
Lambdas and Functional Interfaces
Constructor and Method References
Lambdas and Local Variables (Effectively Final)
Streams API
Stream API - Operations
Streams API - Factory Methods
Streams API - Numeric Streams
Streams API - Terminal Operations
Streams API - Parallel Processing
Optional
Default/Static Methods in Interfaces
New Date/Time APIs
Base Project Setup for Exploring Java 9 and Beyond Features
Local Variable Type Inference (LVTI) Using var
Text Blocks
Enhanced Switch
Records
Sealed Classes/Interfaces
Pattern Matching
CheckoutService Application [Real-Time Use Case]
Simple Web Server
New Http Client