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
/
Extensions
A type and an imported extension both define render() with compatible signatures. Which d…
from Extensions
Kotlin 2.4.10
beginner
1 min
A type and an imported extension both define render() with compatible signatures. Which declaration does value.render() select?
The real member function
The imported extension function
Whichever declaration appears later in the file
The choice is deferred to the runtime subtype
Check
Ask AI about this kata
Report an error
next kata
What does the direct call do differently from the safe call?
Predict the output
A new version is available
Reload