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