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
https://mailchi.mp/d4dda8b66929/goobario

πŸ”” Subscribe to My Channel
https://www.youtube.com/c/goobario?sub_confirmation=1

Helpful Software Development Resources

πŸ“™ My Kotlin Book
https://amzn.to/2QB99Pq

πŸ“— Recommended Android Development Books
https://www.amazon.com/shop/n8ebel?listId=2FIBS1KV859W

πŸ“š Books That Have Helped Me In My Career
https://www.amazon.com/shop/n8ebel?listId=NR7OQ5R8DNJO

My Office Setup

πŸ–₯ Development Hardware
https://www.amazon.com/shop/n8ebel?listId=9X02HRBJ0ZVA

πŸ“· My Vlogging Setup
https://www.amazon.com/shop/n8ebel?listId=144E0HV7ZIDJY

πŸ™‚ 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