Comment on Tutorial - A simple Thread sample in Java By Henry
Comment Added by : vivek tiger
Comment Added at : 2012-04-19 10:19:56
Comment on Tutorial : A simple Thread sample in Java By Henry
class thrs
{
public void run()
{
System.out.println("jhg");
}
public static void main(String []str)
{
try
{
for(int i=0;i<9;i++)
{
System.out.println(i);
Thread.sleep(5000);
}
}
catch(InterruptedException e)
{
System.out.println("thread exception");
}
//Thread vk=new Thread();
//vk.start();
}
}
View Tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Related Tutorials
Program using concept of byte long short and int in java
Update contents of a file within a jar file
Tomcat and httpd configured in port 8080 and 80
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program in Java
Calculate gross salary in Java
Calculate average sale of the week in Java
Vector in Java - Sample Program
MultiLevel Inheritance sample in Java
Archived Comments
1. Please, if it is incomplete, can you please send m
View Tutorial By: Marcio at 2009-03-01 09:06:45
2. Thank you! :) But I have a question, why is that t
View Tutorial By: choco at 2010-01-03 02:16:18
3. Tnx. Very fast learning i think.
Just make
View Tutorial By: mahdi at 2011-07-09 20:20:39
4. java.lang.IllegalArgumentException means usually t
View Tutorial By: Seink at 2008-11-12 11:03:00
5. Hi,
What is the process if I want to know w
View Tutorial By: Koushik Roy at 2012-07-13 05:35:35
6. how about soting you word? like your output will b
View Tutorial By: [email protected] at 2011-01-27 16:40:51
7. hi, this is a good example and this rely helpful i
View Tutorial By: Dhaval PATOLIYA at 2015-09-08 06:55:38
8. I want to say, that you have to give complete code
View Tutorial By: Jasvir Yadav at 2009-09-05 07:23:15
9. good one.......thanks
View Tutorial By: raghubir at 2012-11-10 19:01:45
10. HI EVERY ONE I AM NEW IN J2ME SO I WANT TO LEARN S
View Tutorial By: KALAI at 2011-04-04 03:10:32