Menu
×
×
Correct!

Exercise:

Add a fname argument to the function.

fun myFunction(fname: String) { println(fname + " Doe") } fun main() { myFunction("John") }

Not Correct

Click here to try again.

Correct!

Next ❯
fun myFunction( ) {
  println(fname + " Doe")
}

fun main() {
  myFunction("John")
}

    
  




Log in to keep your progress
Sign up to keep your progress

Completed 0 of 39 Exercises:

KOTLIN Syntax
KOTLIN Variables
KOTLIN Data Types
KOTLIN Operators
KOTLIN Strings
KOTLIN Booleans
KOTLIN If...Else
KOTLIN While Loops
KOTLIN Arrays
KOTLIN For Loops
KOTLIN Functions
KOTLIN Classes

×

Reset the Score?

This will reset the score of ALL 39 exercises.

Are you sure you want to continue?



×

Congratulations!

You have finished all 39 KOTLIN exercises.

Share your score: