Kotlin Programming Tutorial for Beginners Part 2 – if/when Expressions

Welcome to Part 2 of this Kotlin programming tutorial for beginners. In this part of the tutorial, you’ll learn to use `if` & `when` expressions to conditionally assign variable values.

– You’ll learn to use an `if` expression to change the value of a variable based on a single boolean condition
– Then, you’ll learn to use a `when` expression to change the value of a variable based on multiple possible conditions

This is Part 2 of an ongoing series: Kotlin Programming Tutorial for Beginners so be sure to check out the rest of the series to continue learning Kotlin.

Thanks for watching!

Stay Up To Date

βœ‰οΈ Subscribe to My Weekly Newsletter

πŸ”” Subscribe to My Channel

Helpful Software Development Resources

πŸ“™ My Kotlin Book

πŸ“— Recommended Android Development Books

πŸ“š Books That Have Helped Me In My Career

My Office Setup

πŸ–₯ Development Hardware

πŸ“· My Vlogging Setup

πŸ™‚ Follow Me Online
twitter ➑ https://twitter.com/n8ebel
website ➑ https://goobar.io
instagram ➑ https://www.instagram.com/n8ebel
youtube ➑ https://www.youtube.com/channel/UCVysWoMPvvHQMEJvRkslbAQ

β„Ήsome links direct to affiliate sites

Intro/Outro Song
Half Bit by Kevin MacLeod is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/)
Source: http://incompetech.com/music/royalty-free/?keywords=%22half+bit%22
Artist: http://incompetech.com/

Post Author: hatefull