In the previous lesson, you learned the properties of Kotlin objects and how to use them to solve specific problems. You also learned how to use them to initialize the class.
In this lesson, you’ll learn more about class initialization, constructors, and initializers. By the end of a lesson, you’ll be able to:
Describe the purpose of a constructor.
Explain the purpose of a secondary constructor.
Define the purpose of an initializer block.
See forum comments
This content was released on May 22 2024. The official support period is 6-months
from this date.
Download course materials from Github
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress,
bookmark, personalise your learner profile and more!
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.