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()

Related questions

0 votes
0 votes
asked Aug 13, 2022 in Scala - The Diatonic Syallable by AdilsonLima
0 votes
asked Oct 5, 2021 in Kotlin by rajeshsharma
...