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