Write a function that has the same default values as a constructor

后端 未结 0 922
无人及你
无人及你 2020-12-16 03:26

Abstract problem:

Consider the following:

data class Data(val i: Int, val s: String = "")

fun  make(ctor:          


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