Creating custom annotation in Kotlin

Report a typo
Hey there! This problem might be a bit unpredictable, but give it a go and let us know how you do!
Consider the following code snippet in Kotlin. Which of the following options correctly illustrate how to create a custom annotation that can be applied to non-nullable function parameters and include a default value?
annotation class MyAnnotation 
Select one option from the list

Create a free account to access the full topic