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
/
Delegated properties
When is provideDelegate() called for a delegated member property?
from Delegated properties
Kotlin 2.4.10
intermediate
1 min
When is provideDelegate() called for a delegated member property?
Once while the owner instance is initialized and the property is bound
On every getter call, immediately before getValue()
Only when the first assigned value fails validation
At source compilation, inside the compiler process
Check
Ask AI about this kata
Report an error
previous kata
What does this program print after the rejected assignment?
Predict the output
next kata
Review generated account field delegate
Review AI code
A new version is available
Reload