Lesson 2: Functions

  1. Functions in Kotlin are created with the following keyword?
  2. What is the default return type of any functions defined in Kotlin?
  3. The function to print a line in Kotlin is ?
  4. The 'when' statement in Kotlin is similar to which statement in other programming languages?
  5. What are lambdas in Kotlin?