Java 17 ( JDK 17 ) new features | JEP 406: Pattern Matching for switch (Part 5)

preview_player
Показать описание
In these tutorial series we will talk about Java 17 (JDK 17) new features specially about JEP 406: Pattern Matching for switch.

Enhance the Java programming language with pattern matching for switch expressions and statements, along with extensions to the language of patterns. Extending pattern matching to switch allows an expression to be tested against a number of patterns, each with a specific action, so that complex data-oriented queries can be expressed concisely and safely. In Java 16, JEP 394 extended the instanceof operator to take a type pattern and perform pattern matching.This JEP builds on pattern matching for instanceof (JEP 394) and also the enhancements offered by switch expressions (JEP 361). We intend this JEP to coincide with JEP 405, which defines two new kinds of patterns that support nesting. The implementation will likely make use of dynamic constants (JEP 309)

switch expressions and statements, guarded patterns , parenthesized patterns , switch-like expression , pattern-matching semantics , traditional switch construct , multi-way comparisons with switch statements , Java 14, switch expressions (JEP 361), switch is a perfect match for pattern matching , Pattern matching and null , Refining patterns in switch , Patterns in switch labels , Enhanced type checking , Selector expression typing , Dominance of pattern labels , compatibility of an expression with a pattern , Completeness of pattern labels in switch expressions and statements , selector expression is a sealed class (JEP 409), Scope of pattern variable declarations , Dealing with null , Matching null , New label forms arising from null labels , Guarded and parenthesized patterns ,

Java 17 ( JDK 17 ) new features | JEP 406: Pattern Matching for switch (Part 5)
java 17 new features , pattern matching for switch , guarded patterns , pattern matching and null , java 17 vs java 11 , java 17 vs java 8 , java 16 vs java 8 , java 11 features , java 15 features , java vs python , lambda expression in java , functional programming java , solid development , java architecture , jdk architecture in java , how to learn java programming language for beginners , jep 401 , java best practices , java best tutorial , java se , java champion , java interview

java programming language,java 17 new features,java virtual machine,java tutorial for beginners,java tutorial,java interview questions and answers,java programming,java full course,jdk installation in windows 10,programming java on ubuntu,programming java on raspberry pi,programming java in eclipse,programming java on ipad,programming java game,programming java projects,java google interview,java google cloud,java google api,java google maps api tutorial
Рекомендации по теме
Комментарии
Автор

This is the greatest Java tutorial I have ever found on Youtube. Not too lengthy, covered huge concepts within a few minutes. As well as clear and understandable English.
Thanks.💞

Rozblue-kyuyrpq
Автор

Nice, short and info full content. Thanks for sharing. Nice informational video.

NazNaziiii