final or val function parameter or in Kotlin?

Kotlin function parameters are final. There is no val or final keyword because that’s the default (and can’t be changed).

Leave a Comment