Kotlin has a series of ...Array classes that wrap around primitive types, such as IntArray. They each have corresponding creation functions, such as intArrayOf().

You can learn more about this in:
Run Expand Edit