Why is Kotlin `Any` a Class not an Interface?

后端 未结 0 1904
北恋
北恋 2021-02-01 21:37

Kotlin any is a class, with the methods from Java Object

open class Any() {
    open operator fun equals(other: kotlin.Any?): kotlin.Boolean { /* com         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题