w_bianrytree
10/09/2019, 9:23 AMclass A{
val b:Int = 0
val a:Int
init {
a = 2
}
}
Is there any order of a/b’s initialization? a first?diesieben07
10/09/2019, 9:24 AMb
would run first, then the init
block.w_bianrytree
10/09/2019, 9:25 AMdiesieben07
10/09/2019, 9:25 AMw_bianrytree
10/09/2019, 9:27 AM