Does val property has a setter or not ?
And is it equivalent to var property having private setter?
E.g. 'val a = 2' is same as
'var a = 2
private set'
j
Joffrey
06/28/2022, 1:52 PM
By definition
val
properties don't have a setter. It's not equivalent to