Kotlin developers can now use a Kotlin class as a record in Java by making it a data class and marking it with the @JvmRecord annotation. Sealed interfaces provide more control over inheritance.