Kotlin Classes and Constructors - Primary vs Secondary

Published: 01 March 2024
on channel: Will Tollefson
414
33

In this video, we'll cover how to MAKE YOUR OWN KOTLIN CLASS, including methods for customizing this with PRIMARY AND SECONDARY CONSTRUCOTRS. We'll also touch briefly on the FOUR VISIBILITY MODIFIERS IN KOTLIN.

I'm Will Tollefson, a guy who loves to NEVER STOP LEARNING and teach others what I've learned. If you're enjoying the content, please LIKE, SUBSCRIBE, and SHARE!

VIDEO CHAPTERS:
0:00 Introduction
0:23 Making a Class in Kotlin
2:34 Constructors
4:09 Initializer Blocks
6:05 Useful Constructor Tricks
9:00 Secondary Constructors
11:57 Alternatives to Secondary Constructors
13:22 Summary


Watch video Kotlin Classes and Constructors - Primary vs Secondary online without registration, duration hours minute second in high quality. This video was added by user Will Tollefson 01 March 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 414 once and liked it 33 people.