Can i use class for other class's parameter in kotlin?

后端 未结 0 1143
后悔当初
后悔当初 2021-01-27 14:19

I just want to use some class for parameter.

For example,

class A (b: C){}

class C() {}

something like above.

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