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. good but not best
View Tutorial          By: VIVEK at 2010-03-09 03:00:21

2. code givr an error when sending the Email:

View Tutorial          By: Ravi Shanker Yadav at 2013-05-08 12:36:59

3. HI there, thanks for taking time to write this dow
View Tutorial          By: nick at 2012-07-31 10:41:47

4. i m new in java plz send some programs of java usi
View Tutorial          By: supriyo at 2009-09-02 02:03:38

5. Thanks for the useful tutorials abt strtus 1 vs St
View Tutorial          By: Sudharsan at 2011-12-03 11:54:58

6. super excellent
View Tutorial          By: mani at 2013-05-27 05:32:06

7. //Convert numbers to word as per Indian number sys
View Tutorial          By: Abhishek at 2011-09-05 10:42:20

8. Hello,

I was able to rectify port/

View Tutorial          By: Harsh at 2011-10-09 16:54:06

9. can't understand........
View Tutorial          By: james at 2011-06-23 02:44:22

10. your code helps a lot.....
thanx......

View Tutorial          By: beh at 2009-08-19 06:06:20