0 votes
in Kotlin by
What does this code do?

bar {

       System.out.println("madanswer!")

}

1 Answer

0 votes
by

The code passes lambda function that prints “madanswer!” as an argument into function bar()

...