Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Kotlin
/
Kotlin fundamentals
count has type Int. Which expression passes it to fun store(value: Long)?
from Kotlin fundamentals
Kotlin 2.4.10
beginner
1 min
count has type Int. Which expression passes it to fun store(value: Long)?
store(count)
store(count.toLong())
store(count as Long)
store(Long(count))
Check
Ask AI about this kata
Report an error
previous kata
Why omit else from a when expression that lists every member of an enum?
Quiz
next kata
What does this program print?
Predict the output
A new version is available
Reload