Apply the @Delete annotation to the get method of the "data" field.
Annotation use-site targets
One annotation
Report a typo
Write a program in Kotlin
annotation class Delete
// Write code here
class LocalData(var data: String)
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.