Vidyalelo
Computer Science · Q198

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 198

Q198

You would like to know each time a class property is updated. Which code snippet shows a built-in delegated property that can accomplish this?

A.
Delegates.watcher()
B.
Delegates.observable()
Answer
C.
Delegates.rx()
D.
Delegates.observer()

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board