Vague
06/01/2019, 11:03 AMval with the lateinit keyword?
Using val on a local variable, I can separate the declaration and assignment, for example:
val c: Int
c = 80
Why can't I do:
lateinit val c: Int
And in my initialization,
c = 8
Just to ensure that c is only set once