Is there a better way to write this? ``` // User.j...
# announcements
h
Is there a better way to write this?
Copy code
// User.java
interface User {
    String getName()
}

// ConcreteUser.kt
data class ConcreteUser(val name0: String) {
    override fun getName() = name0
}