Kotlin - Variables and Type System
Which of the following is the correct syntax to declare an immutable integer variable named
count with value 10 in Kotlin?count with value 10 in Kotlin?val is used for immutable variables, and Kotlin infers type if not specified.var (mutable), C has invalid syntax, D is incomplete.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions