Create a string mutable list capitals with five elements: "Tokyo", "Moscow", "Paris", "Washington", "Beijing".
Work with MutableLists
Yet another list
Report a typo
Write a program in Kotlin
fun createMutableList(): MutableList<String> {
val capitals = // write your code here
return capitals
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.