6 lines
97 B
Kotlin
6 lines
97 B
Kotlin
var withGetterAndSetter: Int = 42
|
|
get() = field
|
|
set(value) {
|
|
field = value
|
|
}
|