跳到主要内容
CodeWiki
练习
学习路径
学习方向
速查表
试验场
术语表
AI时代
搜索
⌘K
English
中文
练习
学习路径
学习方向
速查表
试验场
术语表
AI时代
English
中文
练习
/
测验
/
Kotlin
/
Kotlin基础
count的类型是Int。哪个表达式能把它传给fun store(value: Long)?
来自Kotlin基础
Kotlin 2.4.10
入门
1分钟
count的类型是Int。哪个表达式能把它传给fun store(value: Long)?
store(count)
store(count.toLong())
store(count as Long)
store(Long(count))
检查
向AI询问这道练习
报告错误
上一道练习
已经列出枚举所有成员的when表达式,为什么应省略else?
测验
下一道练习
这段程序会输出什么?
预测输出
有新版本可用
重新加载