How to set and use property in Kotlin?

前端 未结 0 509
迷失自我
迷失自我 2020-12-21 01:12

I\'m learning Kotlin. I thought the variables setted on the constructor were properties of the class, but I think I was wrong so I\'m setting the variable using init

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