摘要:
int getPriority() 返回此线程的优先级。 public class MyThreadDemo { public static void main(String[] args) { MyThread mt1 = new MyThread(); MyThread mt2 = new My 阅读全文
摘要:
String getName() 返回此线程的名称。 public class MyThread extends Thread { @Override public void run() { for (int i = 1 ; i<100 ; i++){ //String getName() 返回此线 阅读全文
摘要:
有需要源文件的同学可以留下邮箱,里面的笔记内容有一些具体的代码实现不能以图片的形式展示。 阅读全文