Konstruktor klas Kotlin
class InitOrderDemo(name: String) {
init {
println("First initializer block that prints ${name}")
}
}
Friendly Hawk
class InitOrderDemo(name: String) {
init {
println("First initializer block that prints ${name}")
}
}