Add books to collection

Report a typo

Suppose you have a function:

fun uniteBookLists(books1: MutableCollection<String>, books2: Collection<String>): Boolean {
    return books1.addAll(books2)
}

fun main() {
    val books1 = mutableSetOf("The Sound and the Fury", "The Wild Palms")
    val books2 = listOf("Light in August", "As I Lay Dying")

    println(uniteBookLists(books1, books2))
} 

What will println() output? Choose one correct option.

Select one option from the list
___

Create a free account to access the full topic