Why does Kotlin data class objects have backticks?
问题 This is my data class created using a Kotlin data class creator Plugin. data class ResponseHealthInisghts( val `data`: List<Data>, val message: String, val statusCode: Int ) This code gets work even if I remove the backticks, I wonder if it's for Java interoperability. But this variable is not a keyword but also it has backticks. why? Based on Why does this Kotlin method have enclosing backticks? this question is is a keyword for both Java and Kotlin but data is not. 回答1: You can use