---
title: "Discussion on \"When Does the init Block Run in Kotlin?\" | Hashnode"
description: "Discussion on \"When Does the init Block Run in Kotlin?\". Kotlin init blocks explained simply: when they run, why the order of properties matters, lateinit in init, secondary constructors, and parent classes."
url: "https://hashnode.com/posts/kotlin-init-block/6b13bdf8d9a933ff42b47bd4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [When Does the init Block Run in Kotlin?](https://imayankkumar.hashnode.dev/kotlin-init-block?utm_source=hashnode&utm_medium=feed)

Kotlin init blocks explained simply: when they run, why the order of properties matters, lateinit in init, secondary constructors, and parent classes.

14h ago · 8 min read · imayankkumar.hashnode.dev  
Read the article

-   [#kotlin](https://hashnode.com/tag/kotlin)
-   [#android](https://hashnode.com/tag/android)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#androiddev](https://hashnode.com/tag/androiddev)

## Written by

[Mayank Kumar](https://hashnode.com/@imayankkumar)

@imayankkumar · Bengaluru, India

  
[View profile](https://hashnode.com/@imayankkumar)

Senior Android Engineer | Kotlin, Android Internals, Performance Engineering & AI

I'm Mayank, an Android engineer focused on Kotlin, software architecture, performance engineering, and AI-assisted development. I write about building Android apps with AI, including the experiments that don't work.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
