-
Answer
[1, 2, 3]
The function listOf() returns a read-only list, not a mutable one. Even though Kotlin collections are implemented on top of Java collections, the type returned by listOf() is treated as a read-only List. When the code checks whether mutable is a MutableList, the condition is false, so the block that adds the value 4 never executes. As a result, the original list is printed unchanged.




