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
Half Bit by Kevin MacLeod is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/)