Today, we learn how to create our own class and how to use it throughout our application. We also learn about different types of constructors and the differences between them. Lastly, we create the init block and learn how and when it gets called.
Timestamps:
0:00 Intro
0:16 What are classes? What are they used for?
1:47 Creating our first class in Kotlin
8:54 Constructor(Primary constructor)
13:17 Constructor(Secondary Constructor)
20:24 Init block
Kotlin For Beginners Playlist
• Kotlin For Beginners 2022
Regular coding posts on Instagram
/ astroscoding
Regular coding tips on Twitter
/ astroscoding
If you liked my Youtube content buy me a coffee at
https://www.buymeacoffee.com/astrosco...
На этой странице сайта вы можете посмотреть видео онлайн Kotlin For Beginners Tutorial (Classes, Attributes, Functions, Constructors, Init Block) длительностью online в хорошем качестве, которое загрузил пользователь AstrosCoding 01 Май 2022, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 185 раз и оно понравилось 8 зрителям. Приятного просмотра!