MCQs>IT & Programming>Kotlin>You want to know each time a class property is updated. If the new value is not within range, you want to stop the update. Which code snippet shows a built-in delegated property that can accomplish this?
Kotlin MCQs
You want to know each time a class property is updated. If the new value is not within range, you want to stop the update. Which code snippet shows a built-in delegated property that can accomplish this?
Answer
Correct Answer: Delegates.vetoable()
Explanation:
Note: This Question is unanswered, help us to find answer for this one