What's New in Java 12

This course provides an overview of the most important features in Java 12, such as preview language features like switch expressions, API updates, as well as features concerning performance and security enhancements.
Course info
Level
Intermediate
Updated
Mar 18, 2019
Duration
1h 8m
Table of contents
Description
Course info
Level
Intermediate
Updated
Mar 18, 2019
Duration
1h 8m
Description

Keeping up with Java can be a challenging task. Only 6 months after the release of Java 11, comes Java 12. In this course, What's New in Java 12, you get an overview of all the important new features in Java 12. First, you will learn about API changes, such as the CompactNumberFormat API and new methods on the String class. Next, you will discover a preview Java language feature called Switch Expressions. Finally, you will explore how to use JMH, a micro-benchmarking tool for Java code that is heavily used in JDK 12 itself. When you're finished with this course, you'll be ready to make the most of Java 12 in your own projects.

About the author
About the author

Sander is a Fellow at Luminis in The Netherlands, where he crafts modular and scalable software, most often on the JVM, but with a touch of TypeScript when needed. 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.

More from the author
What’s New in Java 13
Intermediate
46m
Aug 9, 2019
Java Fundamentals: HttpClient
Intermediate
1h 45m
May 15, 2019
More courses by Sander Mak
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone. My name is Sander Mak, and welcome to my course, What's New in Java 12. I'm a Fellow and Software Architect at Luminous in the Netherlands, a Java Champion, and also, author of the O'Reilly book, Java 9 Modularity. Java 12 is the latest in the series of Java releases that appear every 6 months. As is usual by now, this release also packs several API enhancements and JVM changes that make Java even more versatile. Additionally, Java 12 is the first release ever to have a language feature shipped in it, which is still in preview. We'll explore what this preview feature is and what it means for a feature to be in preview in the JDK. In this course, you'll learn about API enhancements, such as new methods on the string class; switch expressions, a language feature that is in preview in Java 12; and JVM changes that, amongst other things, improve garbage collection performance. Through this course, you'll get an overview of all the important changes that are part of Java 12. This course assumes you have experience in writing applications using earlier versions of Java. After finishing this course, you should feel comfortable using Java 12 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 12 course, here at Pluralsight.