Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Java Thread Example Using the Thread Class

class SoftHuntThread
{    
public static void main(String argvs[])  
{     
Thread thread= new Thread("Softhunt Thread");   
thread.start();    
String string = thread.getName();  
System.out.println(string);  
}  
}
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Java #Thread #Example #Using #Thread #Class
ADD COMMENT
Topic
Name
1+6 =