public class UpDown2 extends Applet implements Runnable{
static int RADIUS=20;
static int x=30;
public int y=30;
Thread t;
public void init(){
t=new Thread(this); //this在这个语句中指的是什么 ?
t.start();
}
请高手给我讲解一下this的用法,有点懵.
static int RADIUS=20;
static int x=30;
public int y=30;
Thread t;
public void init(){
t=new Thread(this); //this在这个语句中指的是什么 ?
t.start();
}
请高手给我讲解一下this的用法,有点懵.
同意~