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

preview_player
Показать описание
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.

Рекомендации по теме
Комментарии
Автор

can you please take lesson in androidx ktx

dpkaalwyn
Автор

nice explaination sir, kotlin is definitely much better than java

satyamgupta
welcome to shbcf.ru