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
/
Lambda expressions
Which type means “an optional function that accepts a String and returns an Int”?
from Lambda expressions
Kotlin 2.4.10
beginner
1 min
Which type means “an optional function that accepts a String and returns an Int”?
((String) -> Int)?
(String) -> Int?
(String?) -> Int
(() -> String) -> Int
Check
Ask AI about this kata
Report an error
next kata
What does this program print?
Predict the output
A new version is available
Reload