Is it possible to have a general getter for a class?

前端 未结 0 1810
夕颜
夕颜 2021-02-18 21:17

For example if I declare a class A and take an Int i as a constructor and then add 1 to i and declare that as a variable insi

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