ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
Which of the following is used to declare an immutable variable in Kotlin?
Correct Answer: D — val
In Kotlin, val is used to declare an immutable (read-only) variable.