create array empty kotlin code example Example: create empty array in kotlin val stringArray = arrayOf<String>()