ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
What are Annotations in Kotlin?
Correct Answer: C — Metadata that provides additional information about code
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)