Kotlin, Android, Software Development, Kotlin Multiplatform, Java.
warn us when we reference them in a when statement and do not cover all cases. This can prevent bugs when adding new values, as it helps us to not forget to update existing usages. enum class VehicleStyle(val id: String, val sortOrder: Int) { CONVERTIBLE("convertible", 3), COUPE("coupe", 1),