/Kotlin---Demo-When

Kotlin when expression is similar to the switch statement in C, C++ and Java. Kotlin when can be used either as an expression or as a statement, simply like a switch statement in Java. If it is used as an expression, the value of the first matching branch becomes the value of the overall expression.

Primary LanguageKotlinMIT LicenseMIT

No issues in this repository yet.