kotlin create list of strings add index example code Example: make list kotlin val list = listOf<String>()