Skip to content

Glossary: Kotlin Basics

data object

An `object` with `data` in front of it, such as `Cash`. It is a single shared instance that prints with its own name.

Where the book teaches it

Related terms

sealed class