And in general you should be careful comparing Jav...
# getting-started
k
And in general you should be careful comparing Java and Kotlin here, Kotlin fixes a fundamental problem in Java's type system:
Copy code
val x: Array<String> = arrayOf("a", "b", "c")
val y: Array<Any> = x
doesn't compile in Kotlin while the equivalent Java would.