Question from the Kotlin test

Write a valid call to the function reformat in Kotlin 1.3

Medium

Considering the following code :

fun reformat(
    str: String,
    uppercaseFirstLetter: Boolean = true,
    wordSeparator: Char = ' '
) {
    // ...
}

What are valid calls in Kotlin 1.3?

Author: W3D TeamStatus: PublishedQuestion passed 391 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!