Which operations return a list of null?

Report a typo

In the following code, we have a list of elements. Select the lines that will print a list of nulls:

println(elements.filterNot { x -> x != null }) // a
println(elements.filterIsInstance<null>()) // b
println(elements.partition { it == null }.first)  // c
Select one or more options from the list
___

Create a free account to access the full topic