Apply the @Cool annotation to the primary constructor.
Annotation use-site targets
Annotation to the primary constructor
Report a typo
Write a program in Kotlin
annotation class Cool
// Write code here
class Cat()
___
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.