Skip to content
Tools
Errors
Commands
Flags
Config
Cheat sheets
Changes
Compat
Codes
Compare
Glossary
Search
Ctrl K
Browse
Tools
Error Messages
Commands
Flags & Options
Config Reference
Cheat Sheets
Version Changes
Compatibility
Codes & Tables
X vs Y
Glossary
Home
Glossary
Kotlin
Languages
Kotlin Glossary
JVM and multiplatform language from JetBrains.
All Kotlin pages
What is a data class in Kotlin?
A Kotlin data class holds values and gets equals, hashCode, toString, copy and componentN generated from its primary constructor. Rules, example, when to use.
Esc