0

How the default argument in kotlin works?

Jun 16, 2020 in Kotlin by Irshad

1 answers to this question.

0

We can give the default values to the parameters within the function definition. If the function is called by passing the arguments, then these arguments are utilized parameters. If the function is called without passing the arguments, then the default arguments are used.

Jun 16, 2020 answered by Divija

Related Questions

0 1 answers

Kotlin Lambda Example

Explain about kotlin lambda expression with example?

Jun 16, 2020 in Kotlin by Irshad
0 1 answers

Kotlin Abstract Class

What is the abstract class in kotlin?

Jun 16, 2020 in Kotlin by Irshad
0 1 answers

Difference Between Kotlin And Java

What are the differences between kotlin and java?

Jun 16, 2020 in Kotlin by Irshad