Loading practice questions
What are Annotations in Kotlin?
Correct Answer: C — Metadata that provides additional information about code
Explanation:
Annotations in Kotlin are metadata that give additional information about code, such as documentation, compiler instructions, or frameworks.
@Target(AnnotationTarget.FUNCTION)
annotation class TestAnnotation(val message: String)