ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
What is the purpose of the fun keyword in Kotlin?
Correct Answer: D — To declare a function
In Kotlin, the fun keyword is used to define a function. For example, fun sayHello() {} is a simple Kotlin function declaration.