FileDocCategorySizeDatePackage
ThreadName.javaAPI DocExample119Sat Nov 25 12:49:08 GMT 2000None

ThreadName.java

public class ThreadName {
	public static void main(String[] args) {
		System.out.println(new Thread().getName());
	}
}