首页 > 试题广场 >

下面 Kotlin 程序的运行结果为() fun main(

[单选题]
下面 Kotlin 程序的运行结果为()
fun main() {
    val set = setOf("one", "two", "three", "one")
    println(set.count())
}
  • 2
  • 3
  • 4
  • 5

这道题你会答吗?花几分钟告诉大家答案吧!