Skip to content

Glossary: Kotlin Basics

method

Also written: methods

A function written inside a class, which can use the object's properties directly. `label()` in `Cafe` is a method.

Where the book teaches it

Related terms

classfunctionthis