JEP 329: Switch Expressions (Preview)

GPTKB entity

Statements (24)
Predicate Object
gptkbp:instance_of gptkb:Java_Enhancement_Proposal
gptkbp:bfsLayer 4
gptkbp:bfsParent gptkb:Java_SE_13
gptkbp:addresses Fall-through behavior in switch statements
gptkbp:aims_to Simplify the switch statement
gptkbp:allows Returning a value from a switch expression
gptkbp:author gptkb:Database_Management_System
gptkbp:contains Example code snippets
gptkbp:encourages Use of expressions over statements
gptkbp:enhances Control flow in Java
gptkbp:features Arrow syntax for case labels
gptkbp:impact Code readability
gptkbp:improves Pattern matching capabilities
gptkbp:influences Future Java language features
gptkbp:introduced gptkb:Java_12
gptkbp:is_discussed_in gptkb:software_framework
gptkbp:is_part_of Java language evolution
gptkbp:is_supported_by gptkb:software
gptkbp:proposed_by gptkb:Switch_expressions_in_Java
gptkbp:provides More concise syntax for switch statements
gptkbp:related_to gptkb:JEP_330
gptkbp:requires Java SE 12 or later
gptkbp:status gptkb:Preview
gptkbp:supports Multiple case labels in a single case