
A Hands-on Whirlwind Tour of developer-friendly Modern Java features
Description
This crash course is for Java developers who want to quickly learn 12 additions to the Java language between Java 9 and Java 17, the current Long Term Support release. Since Java 9, the Java language and platform contain numerous changes but the twelve features introduced in this course will get utilized often in your day-to-day life as a Java programmer.The course is driven completely using examples, every feature explained via code in around 5 minutes.
In some of the examples, we will utilize JUnit, OpenJFX, Jackson, and OpenCSV - You don't need to know any of these libraries. The focus will be on the 12 features.
Basic knowledge of Maven and JUnit is required.
You will also get to reinforce your learning by solving a bunch of interesting exercises.
We will go through the following:
- Learn how to create unmodifiable collections using Collection Factory methods
- Learn how to utilize handy methods introduced in the Collectors class for flat mapping and filtering elements in a stream pipeline
- Learn how to write concise code using Local-Variable Type Inference
- Learn handy API changes in String, Files class, and the Predicate, Path interface
- Learn to utilize the Teeing Collector to perform 2 operations on every element in the Stream and then merge results
- Learn Switch Expressions to write code that is easy to understand
- Detect the exact cause of a NullPointerException by using Helpful NullPointerExceptions
- Learn how to represent multi-line Strings using Text Blocks
- Learn Pattern Matching for instanceof
- Create Immutable data carriers using Records
- Close your hierarchy using Sealed Classes
These features will help you be a more productive programmer.
Who this course is for:
- Java 8 developers interested in getting up to speed very quickly with the ever-evolving Java language