摘要: currentThread //获得主线程的引用Thread t = Thread.currentThread();通过实现Runnable接口:public class MyThread implements Runnable{ public void run{}}通过继承Tread类:public class MyThread extends Thread{ public void run{}} 阅读全文
posted @ 2011-04-10 01:03 绯色卡卡 阅读(137) 评论(0) 推荐(0)