Phone a friend

Report a typo

Please select all the points we can call the callFriend function from.

suspend fun callFriend() {
    // 1
}

fun printMyName() {
    // 2
}

suspend fun loadInfo() {
    // 3
}

fun runConcurrent(action: suspend () -> Unit) = // ...

fun runRegular(action: () -> Unit) = // ...

fun main() {
    // 4

    runConcurrent {
        // 5
    }

    runRegular {
        // 6
    }
}
Select one or more options from the list
___

Create a free account to access the full topic