Take a look at the declaration of a function that repeats a string:
fun repeat(s: String, times: Int = 1, upperCase: Boolean = false): String = ...
How can we invoke it?
Take a look at the declaration of a function that repeats a string:
fun repeat(s: String, times: Int = 1, upperCase: Boolean = false): String = ...
How can we invoke it?
Create a free account to access the full topic