Kotlin Classes and Constructors - Primary vs Secondary

Kotlin Classes and Constructors - Primary vs Secondary

Will Tollefson

4 месяца назад

226 Просмотров

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
Ссылки и html тэги не поддерживаются


Комментарии: