Java -Thread -Beispiel unter Verwendung der Thread -Klasse

class SoftHuntThread
{    
public static void main(String argvs[])  
{     
Thread thread= new Thread("Softhunt Thread");   
thread.start();    
String string = thread.getName();  
System.out.println(string);  
}  
}
Outrageous Ostrich