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 not a simple array list of threads?
wha

View Tutorial          By: Ranadheer Machineni at 2011-08-18 12:30:35

2. please provide Example instanceof With Collection
View Tutorial          By: siddardha at 2010-08-18 00:30:38

3. hello sir,
i am create project autosubtitle

View Tutorial          By: Dilip Gauswami at 2013-12-01 06:46:34

4. @3
argc simply means the argument count.
View Tutorial          By: CDub at 2010-02-22 09:32:54

5. i thnk exampleThread example is wrong - like billg
View Tutorial          By: oldman at 2011-09-24 12:32:33

6. In the above program, the instance variables like
View Tutorial          By: Abhikumar.M at 2012-08-02 17:25:55

7. thanks this material is very helpful for me
View Tutorial          By: Anonymous at 2009-05-09 08:04:31

8. Very good. I like this way. First provide quite wr
View Tutorial          By: NJ at 2010-04-01 23:27:44

9. can you give the program about the fast food by us
View Tutorial          By: grace at 2008-09-22 00:48:37

10. i like java but java many program are confused i a
View Tutorial          By: savaliya hardik at 2012-09-11 03:30:10