Comment on Tutorial - ThreadGroup Sample in Java By Mashoud



Comment Added by : Carlos

Comment Added at : 2009-11-18 14:34:51

Comment on Tutorial : ThreadGroup Sample in Java By Mashoud
The following line in the code
((NewThread)tga[i]).myresume(); // resume threads in group}
needs the closing curly bracket placed on next line, rather than in the comment.
Thanks for the code example (and chance to debug:)


View Tutorial



Subscribe to Tutorials

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

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions 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

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. char *s;
s=(char *) melloc(sizeof(char)*3);

View Tutorial          By: URS at 2011-08-24 12:32:55

2. how to compile and run the above program ? please
View Tutorial          By: samir at 2009-12-22 00:42:52

3. It takes me time to understand the process of the
View Tutorial          By: Abdullah Ibrahim at 2012-04-11 00:38:23

4. php-cgi.exe return popup "is not a valid Win3
View Tutorial          By: noob at 2013-06-30 09:47:38

5. Very good tutorial!
View Tutorial          By: Herve at 2011-04-04 08:06:21

6. very informative and hope it will give some more d
View Tutorial          By: mmt at 2009-12-16 02:16:45

7. this article is very good for the beginners. I am
View Tutorial          By: manoj kumar palbabu at 2009-12-02 10:44:04

8. I am deveolper in envision .i am interested in scj
View Tutorial          By: shiva kumar at 2013-02-20 05:51:42

9. java.lang.IllegalArgumentException means usually t
View Tutorial          By: Seink at 2008-11-12 11:03:00

10. the correct 255's binary representation is:

View Tutorial          By: SD.Plox at 2008-12-30 17:51:39