...

/

Quiz: Collections

Quiz: Collections

Test your understanding of the concepts discussed in this chapter.

We'll cover the following...
Technical Quiz
1.

What is the result of the following code?

fun main() {
    val set = setOf(1, 2, 2, 4)
    println(set.size)
}
A.

1

B.

2

C.

3

D.

4


1 / 5
...