Kotlin - Data Types
What will be the output of this Kotlin code?
val x: Any = 42 println(x.toString())
val x: Any = 42 println(x.toString())
x is of type Any holding integer 42.toString() on an Int returns its string representation "42".15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions