Kotlin Sealed Classes - Part 11 Kotlin Tutorial 2020
Channel: goobar
Date: 2020-04-28

Learn to use Kotlin sealed classes in Part 11 of this Kotlin tutorial.  Sealed classes in Kotlin are a special type of class great for defining restricted class hierarchies.  In this video, we'll explore how to create a sealed class in Kotlin, Kotlin sealed class inheritance, sealed classes vs enums,  and how to use `when` expressions to enforce type safety when using sealed classes.

Full Tutorial Playlist:
https://www.youtube.com/playlist?list=PLEPZdzLLJH95CnKw-StVhMcwo7MIkXu4x

This is Part 11 of an ongoing series: Kotlin Programming Tutorial for Beginners so be sure to check out the rest of the series to continue learning Kotlin.  This course is aimed at Kotlin beginners and for Java developers looking to transfer their skills to Kotlin.

Thoughts or questions about Kotlin sealed classes? Comment below or share on social media.  I’d love to continue the conversation.

Thanks for watching!
#kotlin #programming


Stay Up To Date
--
🔔 Subscribe to My Channel
https://www.youtube.com/c/goobario?sub_confirmation=1


Helpful Software Development Resources
--
📙 My Kotlin Book
https://amzn.to/2QB99Pq

📚 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 Recording Setup
https://www.amazon.com/shop/n8ebel?listId=1GZ29M2S5KY6K

🔴 Livestream & Screen Recording Software
https://www.ecamm.com/mac/ecammlive/?fp_ref=nate39

🙂 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