We can use the library function arrayOf() to create an array by passing the values of the elements to the function . Since Array is a class in Kotlin, we can also use the Array constructor to create an array. The constructor takes two parameters: The size of the array, and.16 Tem 2019