Yet another list

Report a typo

Create a string mutable list capitals with five elements: "Tokyo", "Moscow", "Paris", "Washington", "Beijing".

Write a program in Kotlin
fun createMutableList(): MutableList<String> {

val capitals = // write your code here
return capitals
}
___

Create a free account to access the full topic