In most programming language, we must specify all the arguments that a function accepts while calling that function. In Kotlin, we have a feature using which we can get rid of this constraint. We can make parameter optional while calling the function. i.e. we may pass or not pass while an argument while calling function.
Follow and like us: