提交 2248402d 编写于 作者: taohebin@dcloud.io's avatar taohebin@dcloud.io

Update class.md

上级 60f2e855
......@@ -492,3 +492,13 @@ class Test {
更多介绍参考 [文档](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/)
#### kotlin 平台匿名内部类写法
```
const runnable = new (class implements Runnable {
override run() {
}
})
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册