Question from the Kotlin test

In Kotlin, adding an element to a list does not change the list.

Expert
var list = listOf(1,2,3)
list + 4
println(list)

Which of these statements is correct?

Author: W3D TeamStatus: PublishedQuestion passed 658 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!