Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

What's New in Java 21

via Pluralsight

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
This course provides an overview of the most important features in Java 21. It will teach you what APIs have changed, and it covers the introduction of pattern matching in switch, record patterns, and virtual shreads.

Java is still steadily delivering on its promise to release twice every year. Java 21 was the second release in 2023 and is designated as a long-term supported release version by many JDK vendors. In this course, What's New in Java 21, you'll get an overview of the most important features in Java 21 and learn to apply those features in your own codebase. First, you’ll explore changes to the core Java APIs. Next, you’ll discover how pattern matching in switch works; combined with record patterns, this makes for a powerful new way of writing Java code. Finally, Java 21 brings virtual threads: a new way of writing concurrent code without the drawbacks of existing threads or competing asynchronous approaches. When you’re finished with this course, you will be able to use these features in your own applications.

Syllabus

  • Course Overview 1min
  • API Changes 18mins
  • Pattern Matching for Switch and Record Patterns 21mins
  • Virtual Threads 27mins

Taught by

Sander Mak

Reviews

4.7 rating at Pluralsight based on 13 ratings

Start your review of What's New in Java 21

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.