adding elements to array kotlin code example Example: add to array kotlin var listofVehicleNames = arrayListOf("list items here")