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 2
Better Java
Content Locked
Section 5
JShell: Running Java from the Command Line
With frequent releases and new features in Java delivered faster than ever, it’s becoming more important to test the new features quickly and easily. JShell allows us to do just that. We can experiment with the new features without any additional set-up. - Start JShell - Create new variables, methods, and classes in JShell - Try out JShell commands