Book Image

Java SE New Features: Covers Versions 9, 10, 11, and 12 [Video]

By : Tatiana Fesenko
Book Image

Java SE New Features: Covers Versions 9, 10, 11, and 12 [Video]

By: Tatiana Fesenko

Overview of this book

As a developer, every day you need to learn new technologies… and quickly. With frequent Java releases, you need to constantly update your knowledge of Java too. This short course will equip you with insights into the newest key features of Java—in no time. We start by explaining the new release model and how it affects you. This course goes beyond Java's (in) famous modularity which allows us to partition a system into modules with clear dependencies. You'll learn to write more concise code with the coolest new features, including local variable type inference (var) and the improved API for strings, files and collections. You will also understand how to work with very popular reactive streams. The course finishes with a description of the new enhancements you can apply to improve the performance of your code. By the end of this short course, you'll know how to use the most powerful features of modern Java to write faster and more readable programs. All the code files and other files are placed on GitHub at this link https://github.com/PacktPublishing/Java-SE-New-Features-Covers-Versions-9-10-11-and-12
Table of Contents (3 chapters)
Chapter 3
Faster Java
Content Locked
Section 3
Examining the Application Performance
Benchmarking the performance is hard. Doing it correctly is even harder. - Learn about different types of benchmarks - Create microbenchmarks with JMH - Run the benchmarks and compare the results