提交 e3efbd22 编写于 作者: 杜庆泉's avatar 杜庆泉

Update uts-for-android.md

上级 1f6ed55c
......@@ -993,15 +993,13 @@ onStatusUpdate(_name:string, _status:Int, _desc:string){
```uts
class CustomThread extends Thread{
constructor (){
constructor(){
super();
}
override run(){
for(let i = 1;i < 10;i++){
Thread.sleep(1000)
console.log("i = " + i)
}
Thread.sleep(1000)
console.log("CustomThread = " + Thread.currentThread().getName())
}
}
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册