package com.freeflying.thread.base;
/**
* @ClassName: GetThreadName
* @Description:获取当前执行线程的名字
* @author freeflying
* @date 2018年6月21日
*/
public class GetThreadName {
public static void main(String[] args) {
//获取当前正在执行的线程的名字
System.out.println(Thread.currentThread().getName());
}
}