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. why push is error in st.push(new Integer(a)); ? an
View Tutorial          By: ann at 2015-02-02 09:23:41

2. It is very help full to me and very simple underst
View Tutorial          By: Reddymalla Babu Sircilla at 2013-02-22 08:28:22

3. In the above, Masking sign extension program, Plea
View Tutorial          By: Praful at 2012-09-06 06:30:16

4. so how can i run this project
View Tutorial          By: milinda at 2010-12-17 10:01:23

5. the tutorial is good and i am satisfied to it i wa
View Tutorial          By: sheraz at 2011-11-07 02:08:55

6. this helps a lot
View Tutorial          By: Ashar at 2010-04-28 04:47:36

7. Thanks for the example taken directly from the Jav
View Tutorial          By: Lewis Chase at 2013-09-24 23:39:21

8. i have run the program..bt there r so many excepti
View Tutorial          By: ayan at 2010-05-26 10:37:51

9. thank u its a clear information .i got the solutio
View Tutorial          By: anand at 2011-06-29 09:30:12

10. import java.io.*;
import java.util.Stack;
View Tutorial          By: jack&jill at 2011-07-26 06:40:32