What is the purpose of explicit getters in kotlin?

后端 未结 0 482
青春惊慌失措
青春惊慌失措 2021-01-18 23:43

Using getters and setters is a very well known practice in object oriented languages. This is done in order to have a greater control on the variables. To achieve this, we m

相关标签:
回答
  • 消灭零回复
提交回复
热议问题