Beginner Kotlin
Q22 / 100

What is the difference between List and MutableList in Kotlin?

Correct! Well done.

Incorrect.

The correct answer is B) List is read-only; MutableList supports add, remove, and set operations

B

Correct Answer

List is read-only; MutableList supports add, remove, and set operations

Explanation

Kotlin distinguishes read-only (List) from mutable (MutableList) collection interfaces, promoting immutability by default.

Progress
22/100