News

Similar to Kotlin’s when, Java’s switch expressions do not require break statements, and they can be used as statements or expressions. See “Loop, switch, or take a break?