Skip to content

Glossary: Kotlin Basics

default argument

Also written: default arguments, default

A parameter value that is used when the caller leaves that argument out, as in `shop: String = "Kettle & Crane"`.

Where the book teaches it

Related terms

parameternamed argument