Quiz: Functions
Test your understanding of the concepts discussed in this chapter.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
What is the output of this code?
fun a() {}
fun main() {
val result = a()
println(result)
}
A.
null
B.
kotlin.Unit
C.
Undefined
D.
The code will not compile.
1 / 5
...