This course provides an overview of the most important features in Java 15. It covers Text Blocks, a major new language feature. Furthermore, you’ll learn about preview language features like Pattern Matching, Records, and Sealed Classes.
Java 15 is the second Java release in 2020. In this course, What's New in Java 15, you'll get an overview of all the important features in Java 15. First, you will learn about a new feature called Text Blocks, introducing multi-line strings in the Java language. Next, you will discover a lot of exciting preview language features, such as Pattern Matching, Sealed Classes, and Records. After you've seen the highlights of these features, you will also learn about improvements made to the JVM, for example around Garbage Collection. When you're finished with this course, you will be ready to make the most of Java 15 in your own projects.
Sander is Director of Technology at Picnic —the Dutch online grocery scale-up— building Java-based systems at scale. He also is a Java Champion and author of the O'Reilly book 'Java 9 Modularity' (see javamodularity.com). As an avid conference speaker, Sander loves sharing knowledge, also through his blog at http://branchandbound.net and as Pluralsight instructor.
Course Overview Hi, everyone. My name is Sander Mak, and welcome to my course, What's New in Java 15. I'm a Java Champion and author of the O'Reilly book, Java 9 Modularity. I've been deeply involved in the Java platform for over a decade now, and like clockwork, another release of Java is delivered on a six‑month release schedule. Java 15, again, packs many improvements to the Java language and the core platform. At the language level, Java 15 introduces a feature called text blocks. Using text blocks, it becomes much easier to use multi‑line strings in Java source code. We'll see how text blocks reduce the need for escaping special characters and how they preserve indentation and new lines right in your source code. There are also three preview features in Java 15 that we're going to look at. The first one is pattern matching, which allows you to easily match against types using a new version of instanceof. Then we'll look at records. Records are a lightweight mechanism to define data‑only classes in Java. The last preview feature we'll look at are sealed classes. Sealed classes offer a way to more strictly control inheritance hierarchies. Besides these bigger features, we'll also look at API changes and changes to the JVM. Through this course, you'll get an overview of all the important changes that are part of Java 15. This course assumes you have experience writing applications using earlier versions of Java. After finishing this course, you should feel comfortable using Java 15 in your day‑to‑day Java development work. I hope you'll join me on this journey to get up to speed with the latest and greatest developments in Java, with the What's New in Java 15 course, here at Pluralsight.