Kotlin : Public get private set var May 30, 2022 by IT Nursery What is the correct way to define a var in kotlin that has a public getter and private (only internally modifiable) setter? 2 Answers 2