-
-
Notifications
You must be signed in to change notification settings - Fork 692
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update concepts/switch-statement/about.md
Co-authored-by: Kah Goh <[email protected]>
- Loading branch information
1 parent
ea2b915
commit f08d614
Showing
1 changed file
with
0 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,7 +145,6 @@ Starting with Java 14 (available as a preview before in Java 12 and 13) it is po | |
However if you use the new `->` notation it must be followed by either: a single statement/expression, a `throw` statement or a `{}` block. | ||
No more confusion! | ||
|
||
The first LTS (Long Term Support) version that had these improvements was Java 17, released on September, 2021. | ||
|
||
Check failure on line 148 in concepts/switch-statement/about.md
|
||
In addition, a feature called `Guarded Patterns` was added, which allows you to do checks in the case label itself. | ||
|
||
|