kotlin 中调用 fun init() { MyObject.a() } java中调用 MyObject.INSTANCE.a();. 二、companion object companion object 修饰为伴生对象, ...
確定! 回上一頁