SQL Server, Azure SQL Database, Amazon RDS & AWS, Oracle and IBM Help
An online community of DBAs, developers and data intelligence builders, with videos, articles, resources and online events for members and non-members.
Find out more >>
(Rafal Borowiec) As of Java 14, the switch expression has an additional Lambda-like (case … -> labels) syntax and it can be used not only as a statement, but also as an expression that evaluates to a single value.