Kotlin how to access constant defined in parent class from child class

前端 未结 0 776
借酒劲吻你
借酒劲吻你 2021-01-30 19:12

How to access constant defined in parent class from child class?

In Java I can use public constant both from parent and child, in Kotlin companion object not inheritable.

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