Control Flows | if else | when - the cooler switch : Kotlin Fundamentals Tutorial - Part

Опубликовано: 29 Октябрь 2024
на канале: Codetutor
2,807
55

In this video on Kotlin fundamentals series we start having a look control flow statements. We have a look at if else statement. Kotlin also makes it possible to returns a value from if else statements - making it much more fun to use.
Then we have a look at "when" which is equivalent of "switch" in Java. When have certain features which make it much more powerful than normal Switch which you might have used in Java.

Follow me on Twitter:   / anilvdeshpande