package 多线程技能1; /** * getId()方法: * getId()获取线程的唯一标识的方法 */ public class T110 {
public static void main(String[] args) {
Thread thread=Thread.currentThread(); System.out.println(thread.getName() " " thread.getId()); } }
